0

Explain the working of conditional operators with examples?

19th Jun 2016, 9:10 PM
Rashad
Rashad - avatar
3 ответов
+ 1
(bool exp) ? (do something) : (do something) (bool exp) if true if false example int biggestnum = (x < y) ? x : y ; here x and y are two int values inputted from user
25th Jun 2016, 3:12 PM
Mukul Kumar
Mukul Kumar - avatar
0
while, if and break, continue
20th Jun 2016, 8:00 AM
藝齡胡
藝齡胡 - avatar
0
you are asking for this.... (...) ?...:...; ?
25th Jun 2016, 3:09 PM
Mukul Kumar
Mukul Kumar - avatar