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 are the advantages of using Unions?
While compiling a c program,graphics header files are not including in my program..eg: <graphics.h>,what may be the problem...is there any environment settings exists.
program to find a smallest number in an array
Why does notstrcat(string, "!");Work?
write a program to find the given number is prime or not
2 Answers Accenture, Vasutech,
how to set Nth bit of a variable?
Write a program that accepts a string where multiple spaces are given in between the words. Print the string ignoring the multiple spaces. Example: Input: “ We Are Student “ Output: "We Are Student"
What does volatile do?
what is software?
write a program to remove occurrences the word from entered text?
write a program to copy a string without using a string?
What is use of bit field?