0
1.6kviews
Explain following storage class with example (1) static (2) external
1 Answer
| written 9.3 years ago by |
static is the default storage class for global variables. The two variables below (count and road) both have a static storage class.
static int Count;
int Road;
{
printf("%d\n", Road);
}
static variables can be 'seen' within all functions in this source file. At link time, the static variables defined …