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 does h mean in maths?
Is it possible to provide default values while overloading a binary operator?
Difference between inline functions and macros?
What are the extraction and insertion operators in c++? Explain with examples.
What is == in programming?
What are the types of container classes?
what is c++
What is the function of I/O library in C++ ?
What is switch case in c++ syntax?
Why are pointers not used in c++?
Is java based off c++?
Describe exception handling concept with an example?
What do you mean by a template?
What is the difference between the compiler and the preprocessor?
How do you flush std cout?