+ 1
What is the output of this code?
Question from challenges: int a=1; for(int i=0; i<20 ; i++){ a++; } cout<<a;
4 Answers
+ 7
21
+ 6
21 because the loop runs 20 times and increments a 20 times in which a already has a value of 1
soo..1+....20=21
+ 1
thks đ