what is difference between if and else if



what is difference between if and else if ..

Answer / mschaudhari9

The if portion is the only block that is absolutely mandatory. else if allows you to say "ok, if the previous condition was not true, then if this condition is true...".

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Electronics Communications Interview Questions

Define hybrid parameter?

0 Answers  


Why collector is always reverse-biased w.r.t base?

0 Answers  


Why EMI is very low in optical fiber,while frequency is very high? As we no that in general condition frequency inversely proportional to EMI.

2 Answers   IIT,


What is the output of the lexical analyser?

0 Answers  


how a definite tx line can acts as indefinite tx line

0 Answers   Bosch,






how the embeded technology works?

0 Answers  


Explin E1 T1.

2 Answers  


how many ground terminal in 8086 microproccer?

3 Answers  


What is the basis for classifying a material as a conductor, semiconductor, or a dielectric?

0 Answers  


What is zener voltage?

0 Answers  


Hi.. Me going to tke test for management trainee(technical) Post I am an E&C student . Can u guide how to prepare for this test.Can u send me test paper pattern..?

0 Answers   Vizag Steel,


3 girls are wearing 3 different colored outfits red,white,black.Each outfit involves dress of that color,matching socks&shoes.The girls decide to exchange their shoes such that each girl ends up with ! hoe each from the other two girls How many legs will u've to look at,to exactly know color of shoes on right&left leg of each girl?

2 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)