Скачать
Part 2 Ternary Operator Trick in C
Автор: ProgrammingWithPradnya
Загружено: 2025-10-26
Просмотров: 339
Описание:
Let’s see what happens here!
a is 5 and b is 10. The condition a greater than b is false, so the else part runs — that’s ++b.
++b increases b first, so b becomes 11, and that’s what gets printed first.
Then we print a and b again — so the final output is:
11, then 5 and 11.
That’s how the ternary operator and increment operators work together!.
#CProgramming #CodingShorts #LearnC #ProgrammerHumor #CodeLogic
Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: