You are viewing a single comment's thread. Return to all comments →
Late reply, Sorry.
Its the conditional operator - " ?: ".It takes in 3 operators, usually the shorthand of If-else statement.
So if(a < b) x = a; else x = b;
could be written as ((a
Seems like cookies are disabled on this browser, please enable them to open this website
Compare the Triplets
You are viewing a single comment's thread. Return to all comments →
Late reply, Sorry.
Its the conditional operator - " ?: ".It takes in 3 operators, usually the shorthand of If-else statement.
So if(a < b) x = a; else x = b;
could be written as ((a