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 I download c++?
What is lambda in c++?
If you push the numbers (in order) 1, 3, and 5 onto a stack, which pops out first a) 1 b) 5 c) 3
Which programming language is best to learn first?
What is abstraction in c++?
Define linked lists with the help of an example.
What do manipulators do?
What is tellg () in c++?
What is Destructor in C++?
What is the difference between while and do while loop?
How would you use the functions randomize() and random()?
What is the difference between *p++ and (*p)++ ?
What is the use of default constructor?
How do you initialize a string in c++?
write a porgram in c++ that reads an integer and print the biggest digit in the number