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


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

Answers were Sorted based on User's Feedback



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

Answer / jishnu mukherjee

the output will be-
45545

but there is a probable mistake in the question...there should be 5 "%d"s instead of 6.if it's 5 ten my

Is This Answer Correct ?    4 Yes 0 No

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

Answer / raja

5 5 4 6 5 5

Is This Answer Correct ?    6 Yes 3 No

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

Answer / ankita

56655

Is This Answer Correct ?    2 Yes 1 No

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

Answer / sanshleo

compile error...

Is This Answer Correct ?    1 Yes 3 No

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

Answer / santosh

its compile error. and this type of questions are compiler
dependent. mean isf sompiler is L to R or R to L.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More Electronics Communications Interview Questions

what is the significance of transistor number (exam. BC557,CIL188 etc) ?

0 Answers   ECL, VCV,


What is the difference between SET and RESET condition or actions?

1 Answers  


What are the applications of precision diode.

0 Answers  


what is different between three phase balanced and three phase unbalanced load with chart.?

0 Answers  


What is modulation? Explain in detail.

0 Answers  


What is the value of binary no 101101 in octal no.?

9 Answers  


what is the use of choke and starter in the tubelight?

1 Answers  


what is that functionality of a relay? draw aconnection for relay?

1 Answers  


im ranjith having 63%in my b tech with 25 backlogs,cleard all .. im having 1100 in gre and 90 in my toefl can i get visa? im planning spring 2011 pls help me i applied for i20 im applying 4 universities pls help me can i get visa? shall i prefer canada if i could not get visa?

0 Answers  


What is transistor?

0 Answers  


Why the current in power diode varies linearly rather than exponentially with voltage?

0 Answers  


What is a comparator?

0 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)