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

Why is a thicker conductor necessary to carry a current in A.C.as compared to D.C. ?

1 Answers  


WHAT IS EXTENDED DELTA AUTOTRANSFORMER? WHERE WE USE THAT?

2 Answers   Amtek, TATA,


what is the difference between direct loading and indirect loading?

1 Answers  


when we supply in primary side of transformer then the supply goes in secondary side?how it works?

4 Answers  


What is the gross weight to copper ratio in slip ring induction motor of 4000 HP,6.6 kv, 372amp, 992 rpm GE motor.

0 Answers  






in traction which type of supply are used

15 Answers   APGenco, Construction,


what is phase and neutral.

16 Answers   HP, Voltech,


What will be in Mahagenco Trade Test Exam? I want to know the same.

0 Answers   MahaGenco,


can i use 10 mfd + 6 mfd instead of 15 mfd capacitor in single phase motor as running capacitor

3 Answers  


why dc moter are not earthed ????

2 Answers  


why no load voltage is greater than full load voltage?

1 Answers  


why do we have 230v a.c. as general voltage for domestic supply rather than others?

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)