0
What is the logic behind this code to find output?
int x=1,i; for (i=1;i<4; i++) { x+=i; } cout<<i;
8 Answers
0
"For" , "Int" and "Cout" are wrong. These should be "for" and "int" and "cout".
0
When you declare a variable x, then use this, not X.
0
Ivan l konw sry it's keypad mistake.
Can you tell me output process ?
I slove but didn't matching the answer
0
~ swim ~ l solve but l'm not getting right output
0
~ swim ~ 4 right?
Plz explain correct output?