Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What will i and j equal after the code below is executed? Explain your answer.



What will i and j equal after the code below is executed? Explain your answer...

Answer / 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

More C++ General Interview Questions

What is the c++ code?

0 Answers  


Explain about profiling?

1 Answers  


What is searching?

0 Answers  


What are different types of polymorphism supported by C++

2 Answers   CA, GameLoft,


How is objective c different from c++?

0 Answers  


What are literals in C++?

0 Answers   Wipro,


How do you differentiate between overloading the prefix and postfix increments?

0 Answers  


What is null pointer and void pointer?

0 Answers  


When there is a global variable and local variable with the same name, how will you access the global variable?

0 Answers  


Do you know what is overriding?

0 Answers  


Explain virtual class?

0 Answers  


Explain the difference between c++ and java.

0 Answers  


Categories