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

The Frequency is measured by _________ bridge ?

3 Answers  


refrigeration cycle?

1 Answers   MAHINDRA, Shapoorji Pallonji Group(SPCL),


Is MEN and RCD related to each other ?? IF yes then how??

1 Answers  


what is the function of potential transformer in s/s

6 Answers  


how to calculate busbar size? ex:11000kva main what is the busbar size ?and how to select the correct one

4 Answers  


What happen if ac supply is fed to rotor of the alternator?

1 Answers  


how does a shunt reactor maintains the bus voltage???

1 Answers  


we touch other end of the tester supply, why do not get shock?

7 Answers   L&T,


what is a panel board?

1 Answers  


1. What does mean of "PS" stand for Diff. CT class? 2. What is the formula of KW for 1Phase load inturms of voltag,current & P.F.?

4 Answers   Hero Honda,


plz send me the placement interview question and answers of whizchip(technical and apttitude)..i have an interview in next.

1 Answers  


Where burned of electricity,when,who, & why.

1 Answers   NIGP,


Categories
  • Civil Engineering Interview Questions Civil Engineering (5086)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4453)
  • Electrical Engineering Interview Questions Electrical Engineering (16638)
  • 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)