ringord
16
Q:

if statement shorthand c

if (true)
	printf("This is the shorthand");

// OR

(true) ? (/*run if true*/) : (/*run if false*/);
5
(integer == 5) ? (THENEXPR) : (ELSEEXPR);
2

New to Communities?

Join the community