1 extern char x_char; 2 extern short x_short; 3 static int x_int; 4 extern long x_long; 5 extern float x_float; 6 extern double x_double; 7 extern char *x_char_p; 8 9 static char s_char; 10 static short s_short; 11 static int s_int; 12 static long s_long; 13 static float s_float; 14 static double s_double; 15 static char *s_char_p; 16 17 char g_char; 18 short g_short; 19 int g_int; 20 long g_long; 21 float g_float; 22 double g_double; 23 char *g_char_p; 24 25 main () 26 { 27 x_char = s_char; 28 g_char = x_char; 29 x_short = s_short; 30 g_short = x_short; 31 x_int = s_int; 32 g_int = x_int; 33 x_long = s_long; 34 g_long = x_long; 35 x_float = s_float; 36 g_float = x_float; 37 x_double = s_double; 38 g_double = x_double; 39 x_char_p = s_char_p; 40 g_char_p = x_char_p; 41 } 42