0
1.6kviews
Explain following storage class with example (1) static (2) external
1 Answer
0
2views
  • 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 …

Create a free account to keep reading this post.

and 5 others joined a min ago.

Please log in to add an answer.