3 ms·
char* first_name; int age; fscanf(fptr, "%s %d", first_name, &age); printf("Name: %s\nAge: %d\n\n", first_name, age); Cool usage of uninitialized char* po
by shurcooL 13y ago
char* first_name; int age;
fscanf(fptr, "%s %d", first_name, &age);
printf("Name: %s\nAge: %d\n\n", first_name, age);
Cool usage of uninitialized char* pointer bro.
(Sorry about the snarky tone, I just wanted to use that meme because it's appropriate.)