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 |
What is %d used for?
WHAT IS PRE POSSESSORS?
Explain void pointer?
Can we access the array using a pointer in c language?
which one is better structure or union?(other than the space occupied )
What is pass by reference in functions?
how to get starting address of a running C program
Explain how can you tell whether a program was compiled using c versus c++?
print a "hello" word without using printf n puts in c language
Write a c program using for loop to print typical pattern if number of rows is entered by keyboard. ABCBA AB BA A A
Write a program to implement queue.
List the difference between a While & Do While loops?