Storage-Class Specifiers


Five keywords are described as storage-class specifiers:

typedef

static

extern

     Conflicting declarations

       The following two declarations at file scope are compatible.

    static int x;     /* Internal linkage */
    extern int x;     /* Same as previous */

       But these two declarations are not:

    extern int y;     /* External linkage */
    static int y;     /* Internal linkage */

auto

register

Index