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

please guide me who to prepare for bel interview...

0 Answers  


WHY MOST OF THE STUDENTS ARE INTERESTED TO STUDY IN ECE? DID THEY GOT JOB AFTER THEIR STUDIES?

2 Answers  


1.what is the purpose of zenar diode? 2.what is the difference between BJT and FET?

4 Answers   Wipro,


iffco exam paper previous year & syllabous

2 Answers   IFFCO,


Explain how to convert binary to gray code and vice-verse?

0 Answers  






Why we use signal&voltage isolator between source n load.

3 Answers   Bhel,


Briefly explain how to get..? maximum resistance can be obtained by using 2 resistors.

4 Answers   Cummins,


Why are using 4ma to 20ma for signal transfer. Why not 0 to 20ma?

0 Answers  


Can any one tell me what ll be the interview questions for fresher in lectronics.

1 Answers  


why does the current through inductor is constant, why current through inductor & voltage across capacitor is constant? can u explin clearly?

3 Answers   BEL,


What is the difference between FDD and TDD?

1 Answers  


Types of (Open Shortest Path First) Link State Advertisements (LSAs)?

0 Answers  


Categories
  • Civil Engineering Interview Questions Civil Engineering (5084)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4451)
  • Electrical Engineering Interview Questions Electrical Engineering (16631)
  • Electronics Communications Interview Questions Electronics Communications (3918)
  • Chemical Engineering Interview Questions Chemical Engineering (1094)
  • 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)