What are Storage Classes in C ?
Answer Posted / pranab kumar rana
According to denis ritchie there are 5 types of storage classes
1. auto
2.static
3.register
4.extern
5. typrdef
you all know about the abobe 4 types but in typedef is
actually not used as a storage class . but when it combines
with a variable it comes to the resolution
'
| Is This Answer Correct ? | 127 Yes | 46 No |
Post New Answer View All Answers
What is the difference between procedural and declarative language?
What is nested structure in c?
What are the different data types in C?
What is the use of a static variable in c?
What is include directive in c?
Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.
Is c object oriented?
What is a void pointer in c?
#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }
What does c mean?
In which layer of the network datastructure format change is done
How can I get back to the interactive keyboard if stdin is redirected?
Why does not c have an exponentiation operator?
What is the role of && operator in a program code?
Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)