+ 1
I have an issue with duplicate struct for loop here
String from struct mk1[i].name = "Al fathir abi dharmawan" is out twice/duplicated https://code.sololearn.com/c1sNe28p87kg/?ref=app
2 Antworten
+ 3
your char auth[5] buffer is too small
you should use at least auth[6]
try
typedef struct {
char name[100];
char auth[10];
} murid;
or just use
typedef struct {
char* name;
char* auth;
} murid;
+ 2
Thanks mate!