What are static variables, and where are they stored?
Answer Posted / glibwaresoftsolutions
Static variables retain their value across multiple function calls. They are stored in the data segment of memory.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do you use a pointer to a function?
What is the use of typedef in c?
I heard that you have to include stdio.h before calling printf. Why?
cavium networks written test pattern ..
What is calloc malloc realloc in c?
Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?
What is the difference between functions abs() and fabs()?
What does node * mean?
Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)
What is the most efficient way to count the number of bits which are set in an integer?
What are the modifiers available in c programming language?
Is null always defined as 0(zero)?
What is the difference between int main and void main in c?
Why calloc is better than malloc?
what type of questions arrive in interview over c programming?