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
How to determine stage of Automatic Power factor controlling Relay(Apfcr)?
What is industrial plc
Can I use star delta connected induction motor for dual supply voltage?
What is the difference between rated and per unit in transformer?
why US countries maintains 110v and 60HZ
if sf6 gas low in gis what will happen
Name the types of motors used in vacuum cleaners, phonographic appliances, vending machines,refrigerators, rolling mills, lathes, power factor improvement and cranes.
can some one clearly explain why -48 volt DC use in telecom site????
comparision between ACB and VCB
what is meaning of sympathetic tripping with respect to relays and give the values for current carrying capacities for copper and aluminium cables from 16sq mm to 500sq mm
What range of speed can you get with the field control method of speed control of d.c. Shunt motor?
what is mean by transition resistance of transformer?
how we can calculate 2 phase welding transformer rating or total power?
what is the significance of terminal voltage and phase sequence in the operation of paralleling of two generators?
why the earth is taken minimum in supplying? wather it the proportional factor to getting work any equipment or a power plant?