What is the O/P for x=97; y=sizeof(x++);print(x); | SoloLearn: Learn to code for FREE!

0

What is the O/P for x=97; y=sizeof(x++);print(x);

c++

10/19/2016 6:19:33 PM

Gauri

1 Answer

New Answer

+1

97 Edit: The reason why x doesn't increment, is because you are passing x as an argument,, specifically, you're passing it by value, not by reference. I'm not entirely sure though. If it's caused by some different reason, please correct me.