what are the static variables
Answer Posted / smriti patnaik
static variables are variables that are initiated only once
in a memory,suppose u have initiated a variable as static
everytime u visit a iteration the value is changed 4m the
initialised value,not like auto variables where the values
remain same everytime u visit a iteration
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Differentiate between the expression “++a” and “a++”?
What will be the outcome of the following conditional statement if the value of variable s is 10?
What does do in c?
Can you write the function prototype, definition and mention the other requirements.
What is meant by realloc()?
What is c value paradox explain?
Can you mix old-style and new-style function syntax?
Are there any problems with performing mathematical operations on different variable types?
I have seen function declarations that look like this
Tell me what is null pointer in c?
How can I insert or delete a line (or record) in the middle of a file?
In a header file whether functions are declared or defined?
explain what is an endless loop?
Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor
Is c weakly typed?