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...

#include<stdio.h>
int main()
{
int i=2;
int j=++i + ++i + i++;
printf("%d\n",i);
printf("%d\n",j);
}

Answer Posted / rajesh kumar mahto

i=5 and j=11 (100% correct answer)
this is because
j=5+4+2(right to left execution)
i=5 due to latest updation of i.

Is This Answer Correct ?    9 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are pointers? What are stacks and queues?

1099


What is the purpose of main() function?

1210


Does free set pointer to null?

973


the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above

1225


Which header file should you include if you are to develop a function which can accept variable number of arguments?

1351


Using which language Test cases are added in .ptu file of RTRT unit testing???

4247


What is wrong in this statement? scanf(ā€œ%dā€,whatnumber);

1215


Explain what does a function declared as pascal do differently?

1243


cin.ignore(80, _ _);This statement a) ignores all input b) ignores the first 80 characters in the input c) ignores all input till end-of-line d) iteration

1080


how logic is used

1935


What is advantage of pointer in c?

1152


Why is it that not all header files are declared in every C program?

1177


What are the standard predefined macros?

1102


Explain how do I determine whether a character is numeric, alphabetic, and so on?

1113


If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above

1026