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 does h mean in maths?

1222


Is it possible to provide default values while overloading a binary operator?

1268


Difference between inline functions and macros?

1051


What are the extraction and insertion operators in c++? Explain with examples.

1199


What is == in programming?

1028


What are the types of container classes?

1164


what is c++

2391


What is the function of I/O library in C++ ?

1197


What is switch case in c++ syntax?

1116


Why are pointers not used in c++?

1139


Is java based off c++?

983


Describe exception handling concept with an example?

1055


What do you mean by a template?

1070


What is the difference between the compiler and the preprocessor?

1122


How do you flush std cout?

1102