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

how are engineers exploited in these days? why do they have to do mba in todays world?

1 Answers  


. Give the C language equivalents of the following a)Function returning an int pointer b)Function pointer returning an int pointer c)Function pointer returning an array of integers d)Array of function pointer returning an array of integers

0 Answers   Geometric Software,


how will u recieve an std idoc from sendor->reciever

0 Answers   HCL,


Write steps of retrieving data using ado.net?

0 Answers  


what is test initiation?can anybody post the answer urgently?

0 Answers  


pls explain this prog logic

1 Answers  


Name some band definitions?

1 Answers  


what does the interviewer mean by saying "have a good life " cheerfully at the end of an HR interview??? is this positive to be selected reply yes or no

0 Answers  


plz plz help me "how can i face dell varcent round"....? plzzzzzzzz help me friends.....?

0 Answers   DELL,


is there any better model than jcb 3dx

0 Answers  


4) Write a program that takes a 5 digit number and calculates 2 power that number and prints it. I did the following program and is this correct

1 Answers  


What are saw filters used for?

1 Answers  


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)