What will i and j equal after the code below is executed? Explain your answer.
After the above code executes, i will equal 6, but j will equal 5. Understanding the reason for this is fundamental to understanding how the unary increment ( ++ ) and decrement ( -- ) operators work in C++.
| Is This Answer Correct ? | 0 Yes | 0 No |
Can we define function inside main in c++?
What are the various oops concepts in c++?
What is exception handling in C++?
What language is a dll written in?
Why is standard template library used?
What is atoi?
What is enum c++?
When the constructor of a base class calls a virtual function, why doesn't the override function of the derived class gets called?
What is the meaning of string in c++?
Define what is constructor?
What do you mean by public protected and private in c++?
Explain terminate() function?