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

What will be the voltage regulation of a full load and 0.80 power factor lagging load transformer when a two winding single phase transformer has a voltage regulation of 4.5% at full load and unity power factor?

0 Answers   HPCL,


what is pressure relief valve?where it is used????

4 Answers   Mecon,


In a 11000/440 V transformer, when any one phase of 11 KV supply fails (ie., single phasing), what happens to the secondary voltage and why?

3 Answers   Secure Meters, TCS, Torrent Power,


what will be the effect if you were using different brands of outlets?

0 Answers   TESDA,


what is difference between short ckt and overload?

6 Answers   Siemens,






why excitor coil of an alternator can fail

3 Answers  


I have suguna 3 hp pump for my agreeculture work.It deliver the water from 45 feet well .I suffered by powercut.During powercut i got 2phase supply only .My question is can i run the pump in 2 phase supply using capacitor?.Can u explain me how to connect the capacitors?

2 Answers  


Classical power system stability was mainly focussed on rotor angle stability but modern power system stability has more focus on voltage stability.Why?

4 Answers  


what is meant by impedance & transient protection?

0 Answers  


what is T P N bus bar

1 Answers  


how to connect generators in parallel and what are the required equipment to do so?

2 Answers   MSEB,


1 hp is equal to how much watt?

0 Answers   Blue Star,


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)