Interview Questions and Answers :: Ericsson
Home > Experience Archives > Ericsson > Interview Question Set 2 > Discussion
5. What are different storage classes in C?
Answer:
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
Amit
23 Aug, 2016 5:46 PM
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
# auto
# register
# static
# extern
Report Error
Report Error
Please Login First Click Here