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

void main()
{
int i=5;
printf("%d",i++ + ++i);
}

Answer Posted / abhijeet dongre

I HAVE PRACTICED MANY ASPECTS OF THESE QUESTIONS
THING IS THAT
PRINTING VALUES IS FROM RIGHT TO LEFT.
SOLVING AN EXPRESSION IS FROM LEFT TO RIGHT.
SOME SAMPLE OUTPUTS:-(TRY IT)
int i=5;
printf("%d",i++ + ++i); 12(5+7 only)(not 6+6)

int i=5;
printf("%d",i++ * ++i); 35(5*7 only)(not 6*6)

int i=5;
printf("%d %d",i++ + ++i,i); 12 5

int i=5;
printf("%d",i++ + i++); 11 7
printf(" %d",i);

Is This Answer Correct ?    8 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is new line escape sequence?

1353


Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.

1108


What is ## preprocessor operator in c?

1089


What is a const pointer in c?

1132


What does == mean in texting?

1297


Do pointers store the address of value or the actual value of a variable?

1080


What is the difference between pure virtual function and virtual function?

1122


Write a program to find the biggest number of three numbers in c?

1047


any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above

1141


illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question

2076


What does return 1 means in c?

1073


How can I rethow can I return a sequence of random numbers which dont repeat at all?

1192


How do you sort filenames in a directory?

1181


Which is better oop or procedural?

1069


can anyone suggest some site name..where i can get some good data structure puzzles???

2084