What are Storage Classes in C ?
Answer Posted / ramiz n sayyed
if we declare any variable its type and storage class is
also be declare.storage class tells us that
1.where the variable is stored.
2.what is its initial value.
3.what is the scope of the variable.
4.and last is what is the life of the variable.
THERE ARE FOUR TYPES OF STORAGE CLASS IN C-
1.AUTOMATIC STORAGE CLASS
2.REGISTER STORAGE CLASS
3.STATIC STORAGE CLASS
4.EXTERNAL STORAGE CLASS
Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);
Explain about block scope in c?
1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.
What is context in c?
How main function is called in c?
What is #include cctype?
What are the different types of linkage exist in c?
What is malloc return c?
What is static volatile in c?
What is the use of pragma in embedded c?
Write a c program to demonstrate character and string constants?
What is string function c?
write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1
provide an example of the Group by clause, when would you use this clause
What does %p mean c?