c. int m = 10;
main()
{
int m = 20;
{int m = 30;}
printf("%d %d",m,::m);

1. 10 10 2. 10 20 3. 20 10 4. 20 30 5. 30 20 6. None

Answers were Sorted based on User's Feedback



c. int m = 10; main() { int m = 20; {int m = 30;} printf("%d %d",m,::m); 1. 10 10 ..

Answer / kiruthigha

3. 20 10
Because first m within main block where printf statement
occurs, indicates 20. scope resolution always denotes
global variable which is 10

Is This Answer Correct ?    2 Yes 0 No

c. int m = 10; main() { int m = 20; {int m = 30;} printf("%d %d",m,::m); 1. 10 10 ..

Answer / nila

tell me the answer

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Electrical Engineering Interview Questions

in a distribution board,if we have a load and we have selected a cable after making all calcs (Deratings and V.D , ect...) the cable we have selected was 10mm.sq. now, shall the internal cable inside the switchboard should be 10 mm.sq Like the external or it can be Less???? if somebody have an specs or information he can help D:

1 Answers  


how to decide the panel size like MDB ,SMDB PANEL SIZES

0 Answers  


What is the temperature PROFILE OF A FLUID W. R. T. Distance from a sphere to which it is IN CONTACT which is at constant temp.?

0 Answers  


why do we need to use 3c+3e cable, normally i select only 3c+e cable and i think it is enough. pls explain the usefull of 3e cable ( in this project the earthing system is well done)

0 Answers  


why making capacity is more than breaking capacity?

14 Answers   Essar, Indo Asian, Infinity,






calculate multiplication factor of a trivector meter with line ct ratio 200/5A, line PT ratio 11000/110V and meter CT ratio 200/1A and meter pt Ratio 11000/110V.

4 Answers  


hi i have a 400kva transformer i want to know the test i can use to check on it thx

1 Answers  


what types of fault occurred in transmission line ? which protection function senses the fault?

1 Answers  


what is mean by potential and potential free contacts

2 Answers  


What transistor level design tools are you proficient with? What types of designs were they used on?

1 Answers   Intel, Jindal,


When are the directional relays used?

0 Answers  


what is the path of electron when a static electron is placed in a magnetic field?

1 Answers  


Categories
  • Civil Engineering Interview Questions Civil Engineering (5085)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4452)
  • 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)