0
Is there anyone who can tell me how this can be "33"
Int a = 1; a++; cout<<++a;
3 Answers
+ 1
Your code don't never output "33"...
Your code raise an syntax error for the upper case I of 'Int', which should be 'int' ( all in lower case )...
And even when corrected, your code output "3", as expected...
+ 1
#include <iostream>
using namespace std;
int a = 1;
int main() {
a = a+32;
cout<<a;
return 0;
}
You need to modify the a integer inside of main. This is one way to get it to 33
0
maybe this will help:
https://www.sololearn.com/Discuss/208414/?ref=app