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 is strcture

i++ i ++i answer to this i=5 what is the out put

Answer Posted / bala

My answer is
1.
#include<iostream>
using namespace std;
int main()
{
int i = 5;
cout << ++i << i << i++ << endl;
return 0;
}
ANS:765

2.
#include<iostream>
using namespace std;
int main()
{
int i = 5;
cout << ++i ;
cout << i ;
cout << i++ << endl;
return 0;
}
ANS:666

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is template and type convertion

2456


Who created stl?

1197


totoo po ba ang manga aliens!

2786


how can u do connectivity in c++ language? plz send me connectivity code in c++ ?

2351


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.

2640


How do you convert stl to steps?

1160


please visit this site you'll find my question this is my homework please answer it if you can http://easyscience.org/ib/lofiversion/index.php/t36168.html

2271


What are the symptoms of stl?

1109


Define stl.

1270


When did c++ add stl?

1234


What does stl stand for in basketball?

1162


write a program that will accept a number and print.its equivalent in words the maximum input number is 9999

3032


What is a standard template library (stl)? What are the various types of stl containers?

1170


i wanted to know about questions about c,c++ , which is required for placements.... im a fresher

2215


a program using one dimensional array that searches a number if it is found on the list of given input numbers given by the user and locate its exact location in the list.

1955