Files
c-programmering-tredje-utgavan/kapitel9/icke-fungerande-scope.c
2021-10-01 20:24:05 +02:00

16 lines
243 B
C

#include <stdio.h>
extern int x;
extern int y;
int main(void)
{
/* Kommer inte att fungera eftersom
y är static i filen
fungerande-scope-fil2.c
*/
printf("x = %d\n", x);
printf("y = %d\n", y);
return 0;
}