0

I wanna understand ità„€

What is the output of code? ithisnt a=1; for(int i=0;i<20;i++) { a++; } cout<<a;

30th Aug 2020, 3:17 PM
Bayzid
Bayzid - avatar
3 Réponses
+ 3
run the code and getto know the output https://code.sololearn.com/#cpp
30th Aug 2020, 3:22 PM
Мг. ĐšĐœĐ°ĐżđŸŒ 
Мг. ĐšĐœĐ°ĐżđŸŒ  - avatar
+ 1
It's 21, because you're applying a unit increment to a for 20 times
30th Aug 2020, 3:23 PM
Gabriele
Gabriele - avatar
Aujourd'hui en vedette
.
1 Votes
What?
0 Votes
HTML
0 Votes
FRC Coding?
1 Votes
Quiz duel
0 Votes
AI
2 Votes
help
0 Votes
APIs
1 Votes
Create Agent
0 Votes