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
Answer Posted / 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 |
Post New Answer View All Answers
PIU how does work?
wat is meant by PX class in ct?
What is slip in an induction motor?
Application Comparison between 22KV (UE)and 33KV (E) system. Are we allowed to use 33KV (E) cable in lieu of 22KV (UE) cable. What are the technical disadvantages.
what is the Pickup/drop off ratio in BCPU relays
THERMAL CAPACITANCE IS MEASURED IN..................................................
how to calculate cable size in diffrent loads?
The capacitive reactance of a capacitor of 1/(2(PI)) F at 10^3 H is
How Calculet The UPS AH In Load
whether starting current is limited to rated current of motor through soft starting or it exceeds the rated current?
How to select the cable and voltage drop in circuit?
how to commissioning the genset with amf panel?
how cables go in and come out for distribution from the feeder pillar box?
what is the condition for YnD11
For some transformers we are using solid neutral earthing while some others we are using resistance earthing why ?