What are Storage Classes in C ?
Answer Posted / sujitpatel
there are 4 types of classes
1 extern
2 static
3 register
4 auto
auto is default storage class which is used as for the
default value . if something s written int a ; then its
default storage is called auto . whereas the scope of the
stATIC and register is for only a file .there is only a
difference that register is used for cpu and static is used
for main memory . the scope of the extern is global it is
used for the whole program .
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is dynamic dispatch in c++?
typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none
In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.
What is a volatile keyword in c?
What are two dimensional arrays alternatively called as?
The difference between printf and fprintf is ?
How can a program be made to print the name of a source file where an error occurs?
There seem to be a few missing operators ..
Why c is known as a mother language?
what is a function method?give example?
What is difference between function overloading and operator overloading?
What is the main difference between calloc () and malloc ()?
A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler
What is #include cctype?
What are linker error?