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
Why c is called free form language?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
What is bubble sort technique in c?
Is linux written in c?
How do you define a function?
Is c easier than java?
What is a structure and why it is used?
Should I learn c before c++?
What do you mean by dynamic memory allocation in c? What functions are used?
Explain how do you generate random numbers in c?
This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory
Why c is known as a mother language?
What are the ways to a null pointer can use in c programming language?
What is #line?
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }