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
To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9
Write the Program to reverse a string using pointers.
What is a structural principle?
When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd
Can a variable be both constant and volatile?
What is a shell structure examples?
What are the types of data structures in c?
What is the deal on sprintf_s return value?
typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none
hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .
what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values
What is void pointers in c?
What is keyword with example?
What is scanf_s in c?
What is the use of linkage in c language?