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.

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


Please Help Members By Posting Answers For Below Questions

How do you flush a buffer in c++?

1112


Explain queue. How it can be implemented?

1171


Which is not an ANSII C++ function a) sin() b) tmpnam() c) kbhit()

1552


What are the restrictions apply to constructors and destructors?

1096


What is the difference between a type-specific template friend class and a general template friend class?

997


Define Virtual function in C++.

1108


What is boyce codd normal form in c++?

1171


What is & in c++ function?

1071


What is class and structure in c++?

1194


Is c++ pass by reference or value?

1087


What is a constructor and how is it called?

1059


How the keyword struct is different from the keyword class in c++?

1050


What is a pointer how and when is it used?

1107


What is c++ stringstream?

1114


What is null pointer and void pointer?

1085