What will i and j equal after the code below is executed? Explain your answer.
Answer Posted / hrpynux@gmail.com
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 |
Post New Answer View All Answers
How do you flush a buffer in c++?
Explain queue. How it can be implemented?
Which is not an ANSII C++ function a) sin() b) tmpnam() c) kbhit()
What are the restrictions apply to constructors and destructors?
What is the difference between a type-specific template friend class and a general template friend class?
Define Virtual function in C++.
What is boyce codd normal form in c++?
What is & in c++ function?
What is class and structure in c++?
Is c++ pass by reference or value?
What is a constructor and how is it called?
How the keyword struct is different from the keyword class in c++?
What is a pointer how and when is it used?
What is c++ stringstream?
What is null pointer and void pointer?