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 only master neutral contactor is made to switch in synchronization of dg sets

4 Answers   Honeywell,


What do you mean by per capita requirement of electrical energy in india

0 Answers   Tech Mahindra,


how many types of motor can be used in washing machine

0 Answers  


what is the formula of starting current of 3phase and 1 phase motor???

0 Answers  


what is the meaning of TRF

1 Answers   Khidmah,






I want to do a mini project. Now I'm studying in 6th semis tor EEE Engineering.

0 Answers  


What different between kw and kva. why maser AC in kva.

3 Answers  


Starting times for soft starter & power factor is thier any standard or datas available in manufactures list. Kindly suggest.

0 Answers  


fuel-air ratio in a petrol engine fitted with suction carburettor,operating with dirty air filter as compared to clean filter will be

0 Answers   NIC,


Can the Neutral and Body Earthpits of a transformer conncted together by Earth strips under ground.

4 Answers   SanDisk,


is oil viscosity affect on motor current?

0 Answers  


What is the suitable transmission voltage?

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