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
What is function declaration in c++ with example?
Differentiate between an inspector and a mutator ?
What are containers in c++?
What is the use of this pointer in c++?
Why is c++ is better than c?
How do I use turbo c++?
What is the best c++ compiler?
What is a stack? How it can be implemented?
What do nonglobal variables default to a) auto b) register c) static
Who discovered c++?
What is an adjust field format flag?
What are the two types of polymorphism?
Differentiate between the manipulator and setf( ) function?
Write about the role of c++ in the tradeoff of safety vs. Usability?
What is functions syntax in c++?