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 difference allen bradley and siemens plc

0 Answers  


what is scada what is plc what is hmi what is drieves whatis timmer what is counter what is automation

2 Answers  


W#hat is the Present cabling used in Ethernet? and present days networks?? And What is the mostly used topology now a dyas?

3 Answers   BARC,


regarding bsnl jto examination,can i use the printout of application format mentioned in the advertisement.

0 Answers  


Why should an electronics and communication engg. student should join TCS?

2 Answers   TCS,






How does a mobile work?

0 Answers  


why did the ground terminal place in 3ble plug?

0 Answers   Su Kam,


What are semiconductor devices?

0 Answers  


hi.. i m a fresher in ECE 3rd yr how 2 face the campus placement in any mnc company and what to prepare please mail me in detail.

0 Answers  


What do you mean by electronics? How is it different from electrical?

0 Answers   HPCL, Hughes Systique Corporation,


how can trace the fault in any PCB? what are the steps to find problem & to troubleshoot?

0 Answers  


i need diploma electronic and comunication question papers

0 Answers   Cosmic Circuits,


Categories
  • Civil Engineering Interview Questions Civil Engineering (5085)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4451)
  • Electrical Engineering Interview Questions Electrical Engineering (16632)
  • 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)