What are Storage Classes in C ?
Answer Posted / shashi sourabh kant
There are four type of storage classes in C. These are used
to store variables. These are Extern, Static, Register and
Auto. Auto is the default class assigned to any variable.
eg. if we define int x=10; then it means auto int x=10
register and static differ in only one grounds that
register is there in the cpu and static in the main memory.
extern is global and can be accessed by any program and
anywhere.
| Is This Answer Correct ? | 704 Yes | 59 No |
Post New Answer View All Answers
In the DOS enveronment, normal RAM that resides beyond the 1mb mark. a) expanded memory b) swapped memory c) Extended memory d) none
What is the difference between array and structure in c?
What is c programing language?
What is the purpose of sprintf?
An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array
What is the value of c?
What are pointers? What are different types of pointers?
What is optimization in c?
Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays
writ a program to compare using strcmp VIVA and viva with its output.
What is meant by realloc()?
find the sum of two matrices and WAP for it.
Write the control statements in C language
5 Write an Algorithm to find the maximum and minimum items in a set of ānā element.
What is a constant and types of constants in c?