To what value do nonglobal variables default?




1) auto


2) register


3) static

Answers were Sorted based on User's Feedback



To what value do nonglobal variables default? 1) auto 2) register 3) stati..

Answer / k.kavitha

1) Auto

Is This Answer Correct ?    15 Yes 1 No

To what value do nonglobal variables default? 1) auto 2) register 3) stati..

Answer / shruti

Non global variables = local variables..

all non global variables default auto..

Is This Answer Correct ?    3 Yes 0 No

To what value do nonglobal variables default? 1) auto 2) register 3) stati..

Answer / anilkumar927@gmail.com

static

explation:

all non global variables are act as static

all local variables are act as auto

Is This Answer Correct ?    0 Yes 1 No

To what value do nonglobal variables default? 1) auto 2) register 3) stati..

Answer / srinivas

static

Is This Answer Correct ?    0 Yes 5 No

Post New Answer

More C Interview Questions

WAP to accept basic salary of an employee? Calculate it HRA=25%,DA=30%,PF=30%&net salary display all contents?

6 Answers   Finite Infotech, Lovely Professional University, Wipro,


Can we change the value of constant variable in c?

0 Answers  


Can you think of a logic behind the game minesweeper.

0 Answers  


Explain enumerated types in c language?

0 Answers  


Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above

0 Answers  






Is Exception handling possible in c language?

0 Answers   Wipro,


what information does the header files contain?

6 Answers   BSNL, Cisco, GDA Technologies,


Hai friends im a i year student. i want to develop my knowledge in the field of TSR in c. How I'm Improve ?

2 Answers  


write a program to print largest number of each row of a 2D array

0 Answers  


What are header files in c programming?

0 Answers  


What is the right type to use for boolean values in c?

0 Answers  


What is array of structure in c?

0 Answers  


Categories