what is the difference between auto and static keywords
Answer Posted / 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 |
Post New Answer View All Answers
What is time complexity c?
In a switch statement, explain what will happen if a break statement is omitted?
How is actual parameter different from the formal parameter?
What is difference between arrays and pointers?
What is the time and space complexities of merge sort and when is it preferred over quick sort?
What does c mean in standard form?
Is anything faster than c?
What is use of pointer?
What do you mean by a sequential access file?
Where are c variables stored in memory?
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.
What is function prototype?
Explain what does a function declared as pascal do differently?
Why is python slower than c?
Can an array be an Ivalue?