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 |
List the different types of c tokens?
How can I automatically locate a programs configuration files in the same directory as the executable?
What are the types of pointers in c?
difference between memcpy and strcpy
Explain the use of bit fieild.
How to reverse alternate words in a given line of string For Eg: my name is narasimha output : my eman is ahmisaran
How do you view the path?
FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above
Does c have function or method?
what is the return type of printf
Write a program to check armstrong number in c?
When should you use a type cast?