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 are the decision making statements in C++? Explain if statement with an example?

1037


What is a buffer c++?

994


When should we use multiple inheritance?

992


Can you please explain the difference between overloading and overriding?

1028


Can I uninstall microsoft c++ redistributable?

1040


What is the purpose of extern storage specifier?

1100


What is c++ used for in games?

1102


explain the reference variable in c++?

1018


What c++ library is string in?

1004


How do you declare A pointer to function which receives an int pointer and returns a float pointer

1122


Write a program which uses Command Line Arguments

1115


Why is standard template library used?

991


In a function declaration, what does extern mean?

998


What is the best way to declare and define global variables?

1228


Why do we use classes in c++?

999