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

Write a Program for read a line from file from location N1 to N2 using command line arguments. Eg:exe 10 20 a.c

0 Answers  


Can we specify variable field width in a scanf() format string? If possible how?

0 Answers  


What new()is different from malloc()?

0 Answers  


What is an operator in c++?

0 Answers  


What are inline functions? What is the syntax for defining an inline function?

0 Answers  


What is the role of copy constructor in copying of thrown objects?

0 Answers  


What is c++ and its features?

0 Answers  


What are the basics of classifying different storage types, why?

2 Answers   Astergate, Symphony,


What does #define mean in c++?

0 Answers  


Can we define function inside main in c++?

0 Answers  


What is a conversion constructor?

1 Answers  


Why can’t you call invariants() as the first line of your constructor?

0 Answers  


Categories