+ 19
What will be the output
while('\n') { cout<<"hello\t"; }
8 Answers
+ 15
Because any conditional statement which is not false or 0 is automatically true, and hence your while loop will always run.
+ 15
thanks
+ 14
but why
+ 11
Infinite "hello\t"s.
+ 8
infinite loop :)
+ 6
Probably we get a compilation error
missing 'main ()'
+ 5
Why don't you run this code and hang up your device
+ 1
Infinite time hello