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 is meant by errors and debugging?
How are pointers declared in c?
What is the use of typedef in structure in c?
What is variables in c?
What is pass by reference in functions?
Explain the difference between strcpy() and memcpy() function?
What does double pointer mean in c?
Why do we use header files in c?
Explain how do I determine whether a character is numeric, alphabetic, and so on?
Which one would you prefer - a macro or a function?
Explain the priority queues?
Do you know the use of fflush() function?
What is getch?
Write a program to know whether the input number is an armstrong number.
What standard functions are available to manipulate strings?