Programming - Oops - Discussion

You Are Here :: Home > C++ Language > Oops - Discussion

 



Q.

When following piece of code is executed, What is the output?
b = 3;
a = b++;                         


A. value of a is 4 and value of b is 4 B. value of a is 3 and value of b is 4
C. value of a is 4 and value of b is 3 D. value of a is 3 and value of b is 3

Answer: Option B
Explaination:

 


No Explanation




Discussion

Your Comments Goes here...
NameDiscussion