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 overloading c++?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
What do the header files usually contains?
What is the output of the following program? Why?
What is the function of I/O library in C++ ?
What relational operators if statements in c++?
What are different types of loops in c++?
what are the iterator and generic algorithms.
What is an accessor in c++?
If a base class is an adt, and it has three pure virtual functions, how many of these functions must be overridden in its derived classes?
What is a .lib file in c++?
Write a program to find the reverse Fibonacci series starting from N.
Can I make ios apps with c++?
Is c++ a difficult language?
What is a flag in c++?