equal
deleted
inserted
replaced
3 * $Source: /development/c/demos/nomalloc.c,v $ |
3 * $Source: /development/c/demos/nomalloc.c,v $ |
4 * |
4 * |
5 */ |
5 */ |
6 |
6 |
7 #include <stdio.h> |
7 #include <stdio.h> |
|
8 #include <stdlib.h> |
8 |
9 |
9 struct Names { |
10 struct Names { |
10 char *name; |
11 char *name; |
11 int age; |
12 int age; |
12 }; |
13 }; |
28 struct Names names; |
29 struct Names names; |
29 |
30 |
30 setStruct (&names); |
31 setStruct (&names); |
31 printStruct (&names); |
32 printStruct (&names); |
32 |
33 |
33 return 0; |
34 return EXIT_SUCCESS; |
34 } |
35 } |