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 the output of following question?
int a=5;
printf("%d",a++ + ++a);

Answers were Sorted based on User's Feedback



what is the output of following question? int a=5; printf("%d",a++ + ++a); ..

Answer / thapaswi

12

because

a++=5 then a will be incremented
a become 6

++a=7

answer will 5+7=12

Is This Answer Correct ?    8 Yes 2 No

what is the output of following question? int a=5; printf("%d",a++ + ++a); ..

Answer / fathima2407

a++=5+1=6;
++a=1+5=6;
output=12

Is This Answer Correct ?    4 Yes 1 No

what is the output of following question? int a=5; printf("%d",a++ + ++a); ..

Answer / mani kandan.s

13

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More Engineering AllOther Interview Questions

1)what is output for the following program. #include<stdio.h> main() { int *p,*q,i; p=(int *)100; q=(int *)200; i=q-p; printf("%d",i); } a)100 b)25 c)0 d)compile error

1 Answers   Infosys,


hai iam selected in po exam in allahabad bank . my interview date is 02-06-2009. so plese send me some sample question on my email. my email is nitinbikhani@yahoo.com

0 Answers  


plz send me how to overhauling of freon bitzer semi receprocal comprassors with available video

0 Answers  


Need help with technical writer interview asap.

0 Answers  


Please state briefly the reasons why you think you are an outstanding candidate for this job

0 Answers  


hello everyone, one thing thats giving me a headache..hope u guys will help me out.i recently gave my gre and got extremely low marks. my gre score is 980 , enginnering aggregate is 58% , diploma aggregate is 73% , 10th score is 79%.so d big question is , is der any possibility of getting admission in any average US university ? am in a turmoil, Please help me out.Thanks in advance

1 Answers  


which topics are come from quizs

0 Answers  


hi friends i am b-tech in computer science having interview of State bank of india clerk day on 30 th april. I want to know the answer of question:"you r B.tech in C.S. why do u want to become a bank clerk?" please help.Its my humble request.

0 Answers   State Bank Of India SBI,


Hi All... PLease send me if anyone have "Information Security Officer" Aptitude papers. Please Mail me at mannusanghi@gmail.com

0 Answers  


what in 4th and 5th normal form ??

0 Answers  


describe how your code can determine if the user entered an input box value or click the cancel button?

0 Answers  


What are annotations? What are assertions? why they are used why not if-else?? what is normalization? what is QuickSort? what are Avl trees?

0 Answers   Impetus,


Categories
  • Civil Engineering Interview Questions Civil Engineering (5086)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4456)
  • Electrical Engineering Interview Questions Electrical Engineering (16639)
  • Electronics Communications Interview Questions Electronics Communications (3918)
  • Chemical Engineering Interview Questions Chemical Engineering (1095)
  • Aeronautical Engineering Interview Questions Aeronautical Engineering (239)
  • Bio Engineering Interview Questions Bio Engineering (96)
  • Metallurgy Interview Questions Metallurgy (361)
  • Industrial Engineering Interview Questions Industrial Engineering (259)
  • Instrumentation Interview Questions Instrumentation (3014)
  • Automobile Engineering Interview Questions Automobile Engineering (332)
  • Mechatronics Engineering Interview Questions Mechatronics Engineering (97)
  • Marine Engineering Interview Questions Marine Engineering (124)
  • Power Plant Engineering Interview Questions Power Plant Engineering (172)
  • Textile Engineering Interview Questions Textile Engineering (575)
  • Production Engineering Interview Questions Production Engineering (25)
  • Satellite Systems Engineering Interview Questions Satellite Systems Engineering (106)
  • Engineering AllOther Interview Questions Engineering AllOther (1379)