+ 1
Whats the output of the following program
int a=32, *X=&a; char ch=65, &eco=ch; eco+=a; *X+=ch; cout<<a<<','<<ch<<endl;
1 Odpowiedź
+ 2
Umm, the output will be 129, a....
Why don't you run this program by yourself on playground?
int a=32, *X=&a; char ch=65, &eco=ch; eco+=a; *X+=ch; cout<<a<<','<<ch<<endl;