On VStudio you must work with *.c files for C programming, otherwise your code will compiled as C++!
Type: Posts; User: BillyTKid
On VStudio you must work with *.c files for C programming, otherwise your code will compiled as C++!
In C there is no typecast for malloc needed. For constants you should use defines.
#define MAXSTRSIZE 257
#define NUMPOINTER 12
Rec1 *a;
a = malloc(sizeof*a);
a->s1 =...