edited by
8,420 views

3 Answers

Best answer
1 votes
1 votes

There are 4 storage classes in C :

1)  Static

2) Extern

3) Auto

4) Register

"Union" is a data type and not a storage class..Storage class gives the visibility and locality information of variables used in a program..For example , every function has its own static area and hence the visibility of a static variable is within the particular function in which it is defined..

Hence C) is the correct answer 

selected by
0 votes
0 votes

Ans: C

A storage class defines the scope (visibility) and life-time of variables and/or functions within a C Program. They precede the type that they modify. We have four different storage classes in a C program −

  • auto
  • register
  • static
  • extern

Related questions

0 votes
0 votes
2 answers
1
0 votes
0 votes
1 answer
2
rishu_darkshadow asked Sep 22, 2017
1,333 views
There exists a construct which returns a value ‘true’ if the argument subquery is :empty non-empty in error none of the above
1 votes
1 votes
1 answer
3
rishu_darkshadow asked Sep 22, 2017
2,389 views
The friend functions are used in situations where :We want to have access to unrelated classes Dynamic binding is required Exchange of data between classes to take...
0 votes
0 votes
1 answer
4
makhdoom ghaya asked Jul 1, 2016
1,784 views
Match the following $:$$\begin{array}{cIcI} & \textbf{List – I} && \textbf{List – II} \\ \text{a.} & \text{Automatic Storage} & \text{i.} & \text{Scope of the vari...