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

What is function declaration in c++ with example?

1077


Differentiate between an inspector and a mutator ?

1197


What are containers in c++?

981


What is the use of this pointer in c++?

999


Why is c++ is better than c?

962


How do I use turbo c++?

976


What is the best c++ compiler?

1134


What is a stack? How it can be implemented?

1157


What do nonglobal variables default to a) auto b) register c) static

1136


Who discovered c++?

1032


What is an adjust field format flag?

1106


What are the two types of polymorphism?

1115


Differentiate between the manipulator and setf( ) function?

1174


Write about the role of c++ in the tradeoff of safety vs. Usability?

1048


What is functions syntax in c++?

1125