C Language - Storage Classes

You Are Here :: Home > C Language > Storage Classes- General Questions

 
25.

If the definition of an external variable does not contain an initializer, it is known as

A. forward declaration B. tentative definition
C. backward reference D. backward definition




26.

External variable definition

A. creates the variable B. allocates memory
C. does not use extern keyword D. all the above




27.

External variable delaration

A. does not allocate memory B. uses keyword extern
C. cannot be initialized D. all the above




28.

What are the valid C scopes of identifiers ?

A. external and local B. project, file, and block
C. global, file and local D. file and block




29.

How is a variable accessed from another file ?

A. The global variable is referenced via the global specifier. B. The global variable is referenced via the extern specifier.
C. The global variable is referenced via the auto specifier. D. The global variable is referenced via the pointer specifier.




30.

Array sizes are optional during array declaration by using ______ keyword.

A. auto B. static
C. extern D. register




« previous

1

2

3

4

5

6

7

8

9

...

next »

 
 
 



© 2013 freshersindia.in ® | Copyrights | Terms & Conditions
   Designed by Freshers India
Catch Us on