what is the difference between auto and static keywords
Answer / dr. guruprasad
auto and static are both storage classes.
if a variable is declared as auto - then the life of it will be only till function block.
if static - then value persists between various function call. Life till program ends.
| Is This Answer Correct ? | 0 Yes | 0 No |
code for quick sort?
What is the difference between malloc calloc and realloc in c?
How many types of operator or there in c?
Explain how can you tell whether a program was compiled using c versus c++?
How pointers are declared?
I need previous papers of CSC.......plz help out by posting them.......
write a program to copy a string without using a string?
What are structure members?
#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }
Compare interpreters and compilers.
What is the meaning of 2d in c?
write c program without semicolon
11 Answers MindTech, TCS, Wipro,