Question : if statement shorthand c
Answered by : comfortable-caterpillar-i6i9x3xhv978
if (true) printf("This is the shorthand");
// OR
(true) ? (/*run if true*/) : (/*run if false*/);
Source : | Last Update : Fri, 10 Jul 20
Question : if statement c short form
Answered by : disgusted-dotterel-ici7of3t9xus
(integer == 5) ? (THENEXPR) : (ELSEEXPR);
Source : https://stackoverflow.com/questions/18646190/if-else-statement-shortcut-in-c | Last Update : Wed, 11 Mar 20