1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <string.h> 4 int a,b,c; 5 set_globals()6void set_globals() 7 { 8 a = 10; 9 b = 20; 10 c = 30; 11 } 12 main()13int main() 14 { 15 int x,y,z; 16 char *m; 17 18 x = 100; 19 y = 200; 20 z = 300; 21 m = malloc(5); 22 strcpy(m, "str!"); 23 set_globals(); 24 printf(""); 25 free(m); 26 } 27