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 |
Why is a thicker conductor necessary to carry a current in A.C.as compared to D.C. ?
WHAT IS EXTENDED DELTA AUTOTRANSFORMER? WHERE WE USE THAT?
what is the difference between direct loading and indirect loading?
when we supply in primary side of transformer then the supply goes in secondary side?how it works?
What is the gross weight to copper ratio in slip ring induction motor of 4000 HP,6.6 kv, 372amp, 992 rpm GE motor.
in traction which type of supply are used
15 Answers APGenco, Construction,
what is phase and neutral.
What will be in Mahagenco Trade Test Exam? I want to know the same.
can i use 10 mfd + 6 mfd instead of 15 mfd capacitor in single phase motor as running capacitor
why dc moter are not earthed ????
why no load voltage is greater than full load voltage?
why do we have 230v a.c. as general voltage for domestic supply rather than others?