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 volatile variable in c with example?
Is main is user defined function?
How to get string length of given string in c?
What is substring in c?
GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA
What are 'near' and 'far' pointers?
What are different types of variables in c?
What is an arrays?
Explain what will be the outcome of the following conditional statement if the value of variable s is 10?
What is the size of enum in bytes?
What are the 4 types of organizational structures?
Describe explain how arrays can be passed to a user defined function
What do the functions atoi(), itoa() and gcvt() do?
What does the file stdio.h contain?
Explain the bubble sort algorithm.