Whats the output of the following program | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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;

14th Dec 2018, 6:23 AM
Gokul
1 Answer
+ 2
Umm, the output will be 129, a.... Why don't you run this program by yourself on playground?
14th Dec 2018, 6:25 AM
Raj Chhatrala
Raj Chhatrala - avatar