Upvote:1
That depends:
If you booked it as single journey. You will just go to next flight. There should be a security check too. No passport control!
If you booked it separately. Then,
Upvote:3
If your trip is in one booking, then as stated in Timatic, the database used by Airlines:
TWOV (Transit Without Visa): - Holders of confirmed onward tickets for a max. transit time of 24 hours.
Otherwise, it depends on what passport you hold.