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

which will be first in c compiling ,linking or compiling ,debugging.

3 Answers   Sonata,


What kind of structure is a house?

0 Answers  


Write a C/C++ program that connects to a MySQL server and displays the global TIMEZONE.

0 Answers  


Can we declare variables anywhere in c?

0 Answers  


write a program to find the largest and second largest integer from an array

2 Answers   Value Labs,






Write a program for the following series: 1*3*5-2*4*6+3*5*7-4*6*8+.................up to nterms

5 Answers   Convex Digital,


write a program without using main function?

2 Answers   TCS,


Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.

0 Answers   Aspiring Minds,


what is the flow of execution in cprogram? ex:printf();,scanf();

2 Answers  


Write a program in C to convert date displayed in gregorian to julian date

0 Answers   HCL, Wipro,


what is the use of ‘auto’ keyword?

1 Answers  


Compare and contrast compilers from interpreters.

0 Answers  


Categories