What is the scope of static variables in c language?
Answer / dhanshri chabukswar
in c language the scope of a static variable depends on where it is declared
void func(){
static int x=0;
x++;
printf("%d",x);
}
scope - is x
out put- 123 if you call func()three times
| Is This Answer Correct ? | 0 Yes | 0 No |
1)which of following operator can't be overloaded. a)== b)++ c)?! d)<=
without using arithmatic operator convert an intger variable x into x+1
program to find the roots of a quardratic equation
Is c an object oriented programming language?
What does double pointer mean in c?
what is bit rate & baud rate? plz give wave forms
When should the volatile modifier be used?
Why doesn't the code "int a = 1000, b = 1000; long int c = a * b;" work?
Explain b+ tree?
Describe explain how arrays can be passed to a user defined function
How do I create a directory? How do I remove a directory (and its contents)?
In C, What is the #line used for?