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 a reference variable in C++?
What is a map in c++?
What is a tree in c++?
What are stacks? Give an example where they are useful.
List down the guideline that should be followed while using friend function.
Explain polymorphism?
Which software is best for c++ programming?
What are abstract data types in c++?
What is the purpose of extern storage specifier?
What is std :: endl?
What does asterisk mean in c++?
Would you rather wait for quicksort, linear search, or bubble sort on a 200000 element array? (Or go to lunch...) a) Quicksort b) Linear Search c) Bubble Sort
What is the difference between reference and pointer?
What is the best way to take screenshots of a window with c++ in windows?
What is the purpose of the "delete" operator?