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
i have completed deee and i've (June2012-feb 2015 experience in electrical maintenance in pvt ltd company.company having HT & LT electrical power.how to apply electrical C-license ,NOW I was resigned my job,what are requirements of applying for c-license
Best way to measure the Soil resistance of rocky soil, three probe method and four probe method
Discuss the effect of sudden loading of an induction motor
How to calculate energy stored in an inductance?
i wasted one year for the job after completed my btech what can i say about 1year time in interview
What is the problem of internal failure in ship engine telegraph system norcontrol?
why we take movement of rotor always in counter-clockwise direction in 3-phase induction motors?
what is doid
54 Comments Alok and Bhanu play the following min-max game. Given the expression N = 38 + X*(Y – Z) where X, Y and Z are variables representing single digits (0 to 9), Alok would like to maximize N while Bhanu would like to minimize it. Towards this end, Alok chooses a single digit number and Bhanu substitutes this for a variable of her choice (X, Y or Z). Alok then chooses the next value and Bhanu, the variable to substitute the value. Finally Alok proposes the value for the remaining variable. Assuming both play to their optimal strategies, the value of N at the end of the game would be?
If we have use two power cable for incomer, that time how many use cbct for earth leakage protection? 1 or 2 if 1 way? If 2 way?
xfhnchncv?
EXPLAIN METOD OF IMAGE OF TRANSMISSION LINE/ WHAT ARE ITS PRACTICAL APPLICATION?
A power transformer 4MVA/11KV/0.415Kv has been out of use in 12years. what maintenance actions/test need to be carried out before energizing.
errection check list for transformer maintenance
Can anyone explain me about the RLC based Impulse high voltage generator and how to and operation of Series resonant High voltage reactor...?