What are Storage Classes in C ?
Answer Posted / mustaffa hasan
Auto,Static,Extern,Register.Auto are Local variables known
only to the function in which it is declared.Default is
auto.Static are Local variable which exits and retains its
value even after the control is transferred to the calling
function.Global are Global variables known to all functions
in the file.Register are Local variable which is stored in
register.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What are the complete rules for header file searching?
Can you return null in c?
What is the difference between array and linked list in c?
What is the difference between c and python?
Explain how can I open a file so that other programs can update it at the same time?
Tell me what are bitwise shift operators?
What is difference between arrays and pointers?
What is the significance of scope resolution operator?
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 is the difference between pure virtual function and virtual function?
How many data structures are there in c?
Explain about the constants which help in debugging?
In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.
What is difference between array and structure in c?
Differentiate between calloc and malloc.