What is this k = (num>5 ? (num <=10 ? 100 : 200): 500); in C programming?


Warning: Trying to access array offset on false in /home3/indiakep/public_html/wp-content/plugins/dw-question-answer/inc/Template.php on line 8
All QuestionsCategory: C LanguageWhat is this k = (num>5 ? (num <=10 ? 100 : 200): 500); in C programming?
chetan shidling asked 5 years ago

I need short information.

1 Answers
chetan shidling answered 5 years ago

It is just like an if-else statement.