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 overloading c++?

1040


Write a program that takes a 5 digit number and calculates 2 power that number and prints it.

2545


What do the header files usually contains?

1023


What is the output of the following program? Why?

1106


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

1150


What relational operators if statements in c++?

1138


What are different types of loops in c++?

1096


what are the iterator and generic algorithms.

1897


What is an accessor in c++?

1040


If a base class is an adt, and it has three pure virtual functions, how many of these functions must be overridden in its derived classes?

1040


What is a .lib file in c++?

961


Write a program to find the reverse Fibonacci series starting from N.

1200


Can I make ios apps with c++?

1002


Is c++ a difficult language?

1071


What is a flag in c++?

1028