What are the different types of storage classes in C?
Answer Posted / hr@tgksolutions.com
Auto: Default storage class for local variables.
Static: Retains variable value between function calls.
Extern: Refers to global variables used in other files.
Register: Suggests storing variables in the CPU register
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Tell me can the size of an array be declared at runtime?
What is a memory leak? How to avoid it?
Why void is used in c?
Where static variables are stored in memory in c?
we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?
Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol
Is it possible to have a function as a parameter in another function?
if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0
What are formal parameters?
How can you increase the size of a dynamically allocated array?
hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .
Why we use void main in c?
Explain zero based addressing.
application attempts to perform an operation?
What is pointers in c with example?