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
Is exit(status) truly equivalent to returning the same status from main?
Where static variables are stored in c?
What is the 'named constructor idiom'?
How do I copy files?
What do header files do?
What is the correct code to have following output in c using nested for loop?
What is a class c rental property?
Which is better between malloc and calloc?
What is gets() function?
What is static memory allocation?
Write a program of advanced Fibonacci series.
Create a simple code fragment that will swap the values of two variables num1 and num2.
What are header files in c programming?
What is operator precedence?
When should a type cast be used?