What is the scope of static variables?



What is the scope of static variables?..

Answer / vatsava

Local to the block

Is This Answer Correct ?    4 Yes 1 No

Post New Answer

More C Interview Questions

Write a program to print fibonacci series without using recursion?

1 Answers  


What is the use of #include in c?

1 Answers  


why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above

1 Answers  


#include<string.h> void main() { String s1[]={"swathi"}; string s2[]={"maddimsetti"}; s1[]=s[]; printf("%s",s1[]); }

3 Answers   IBM,


Explain the term printf() and scanf() used in c language?

1 Answers  


What is the purpose of sprintf?

1 Answers  


How do I read the arrow keys? What about function keys?

1 Answers  


print ur name without using any semicolon in c/c++....

21 Answers   Bosch, TCS, Wipro,


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"

1 Answers  


how to write a c program to print list of fruits in alpabetical order?

1 Answers  


What is the use of linkage in c language?

1 Answers  


A C E G H +B D F A I ------------ E F G H D

1 Answers   Infosys,


Categories