C - Storage Classes of Variables

C - Storage Classes of Variables
11. The storage class type of external static has
  • persistent storage
  • block scope
  • file scope
  • options a and c
Show Answer
12. The storage class type of external has
  • persistent storage
  • block scope
  • file scope
  • options a and c
Show Answer
13. Which storage class may help in faster execution ?
  • static
  • extern
  • register
  • auto
Show Answer
14. The typedef statement is used to
  • create a new data type
  • rename the existing data type
  • to define a storage class
  • create a structure
Show Answer
15. Identify the correct statement .
  • typedef int HOST
  • typedef int HOST;
  • typedef int = HOST
  • typedef int = HOST ;
Show Answer
16. The typedef statement does not
  • create new data type
  • reserve storage
  • options a and b
  • rename the data type
Show Answer
17. Which storage class specifies local variables ?
  • auto
  • register
  • internal static
  • all the above
Show Answer
18. Which storage class specifies global variables ?
  • extern
  • external static
  • options a and b
  • typedef
Show Answer
19. External variable declaration uses
  • the keyword external
  • the keyword extern
  • no keyword such as extern or external
  • the keyword register
Show Answer
20. External variable outside definition
  • is specified outside definition
  • reserves memory for storage
  • is defined only once
  • all the above
Show Answer
Questions and Answers for Competitive Exams Various Entrance Test