+ 3

What will be the output of this code ? Can any one tell ?

#include <iostream> using namespace std; int main() { for(;;); }

23rd Dec 2016, 1:05 PM
Alaghusooriya EM
Alaghusooriya EM - avatar
3 Answers
+ 2
None... the first "argument" of for defines the condition for the code to execute... If it is empty it doesnt get executed...
23rd Dec 2016, 3:32 PM
Syvered
Syvered - avatar
+ 1
it's loops forever..
25th Dec 2016, 7:18 AM
Alaghusooriya EM
Alaghusooriya EM - avatar
0
Nothing.
25th Dec 2016, 12:45 AM
Vladislav Dracula
Vladislav Dracula - avatar