C Programming Tutorial 47, Ternary Operator

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

It's actually pretty good if/when you want to in-line a function too. I use them all the time.

tcbetka
Автор

for those saying this is worthless but never really programmed anything -_-

anyways thanks adam this tutorial is amazing.. all of them i dont have a problem understanding u :)

rmz
Автор

Ternary operators are very helpful. Those of you who say otherwise must not have any real programming experience.

robl
Автор

The function to check if 5 is 'useless' not the ternary operator

buckgb
Автор

Why you say ternary is useless when it is actually good to make short if else clauses?

thewhisperinyourears