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
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 |
How to calculate transformer capacity requirement for a project site?
can we find the inductance of a induction motor?
how netral CT is selected (including its details specification)
8 Answers ABB, ABC, dbpl, Mecon, Shree Engineering, Tapasya Transformers,
What are the three major categories of error?
IS THERE ANY ELECTRONIC CIRCUIT TO REDUCE THE NEUTRAL TO EARTH VOLTAGE BELOW 3V ?
How the electric train gets the supply of electricity? What is the return path of the current?
if we use a normal natural thundering; than approx how much amount of electricity we generate?
hello, I need to know exactly what happen in the motor while it is connected to the (star/delta) starter, mechanical and electrical. Thaks for answering
How to calculate energy stored in an inductance?
what is the function of conservater in transformer
why Lightning arrestor are made by 2 seperate stack of inslutor but why cvt are in single stack of insulator.
what is the difference between Current transformer & Capacitive voltage transformer
Civil Engineering (5086)
Mechanical Engineering (4456)
Electrical Engineering (16639)
Electronics Communications (3918)
Chemical Engineering (1095)
Aeronautical Engineering (239)
Bio Engineering (96)
Metallurgy (361)
Industrial Engineering (259)
Instrumentation (3014)
Automobile Engineering (332)
Mechatronics Engineering (97)
Marine Engineering (124)
Power Plant Engineering (172)
Textile Engineering (575)
Production Engineering (25)
Satellite Systems Engineering (106)
Engineering AllOther (1379)