0

Find error?

for (i=0;i <10;i++);{ cout <<i<<endl; }

29th Jun 2017, 5:26 PM
Vashisth Malik
Vashisth Malik - avatar
3 Answers
+ 1
You separate with ; (semi-colon), not , (commas) You also have a semi-colon that shouldn't be there.
29th Jun 2017, 5:32 PM
AgentSmith
0
after closing "for" arguments there is a semI- colon (;) its illegal
29th Jun 2017, 5:33 PM
‎ ‏‏‎Anonymous Guy
0
There's a semicolon after for instead after i++.what man? its basic.
4th Aug 2017, 2:38 PM
Abhinav Tyagi
Abhinav Tyagi - avatar