int a,b ; a=b=10 ; if(a>b){ printf ("%d",a)};

no error
output is a=10

Answers were Sorted based on User's Feedback



int a,b ; a=b=10 ; if(a>b){ printf ("%d",a)}; no error output is a=10..

Answer / k.prakashchandra

no error. but as the 'if' condition fails, the printf part
is not executed. this program gives only the output screen.

Is This Answer Correct ?    4 Yes 1 No

int a,b ; a=b=10 ; if(a>b){ printf ("%d",a)}; no error output is a=10..

Answer / king

plz anybody apt explanation for this

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Electrical Engineering Interview Questions

In Star type and Delta type Motors, If one phase will miss/Break then which phase winding will burn and why?

4 Answers  


Why the airgap of an induction motor is less compared to that of a synchronous machine?

4 Answers   MGVCL, RRB, WebTech,


what is the thumb rule or formula for cable size and current ratings

1 Answers  


If you touch power transformer........ Then , in your body current will flow or not...?

7 Answers  


why noise occurn when transformer is working ?

1 Answers   Honda,






the need of star to delta anddelta to star

2 Answers  


Give me the calculation steps to design an electromagnet to be work in 230V 50 Hz AC Supply. Also give force that is created by that electromagnet when it gets energized.

0 Answers   GE,


Is it possible to make 0.75KW motor earthing from MCC panel by using the 1.5 SQMM, 4 core cable, means 3 core for 3 Phases & 1 core for Earth terminal?

4 Answers  


what is the max load on a 10 mva transformer & plz define it with its formula

0 Answers  


what is the difference between isolation and insolation ? please explain in detail with example.

5 Answers   ABB,


How we calculate the average power factor if the one phase is lag and another one is in lead?

1 Answers   DigiTech, MCR,


I need HT sphere gap calibration table. Can any body help me.

0 Answers  


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)