- 2

Predict the output of following:

a) if (!3) { cout <<"Tricky\n"; } cout <<"yes"; b)if (3) cout <<"Tricky "; else cout <<"Am I right?"; cout <<"no??"; c)if (0) cout <<"Third time tricky"; cout <<"Am i right ??"; d)if (!0) cout <<"fourth time again\n"; cout <<"no"; e) if (0) cout <<"please!"; else cout <<"promise this is last time!"; cout <<"thank God!";

13th Feb 2018, 3:50 AM
Sree Saradhaa
Sree Saradhaa - avatar
1 Answer
0
thanks no idea !
13th Feb 2018, 4:56 AM
Sree Saradhaa
Sree Saradhaa - avatar