1 2 3 4 5 6 7 8
#include "include/main.h" #include "include/name.h" void getName(char * name) { printf("Enter your name: "); fgets(name, maxLen, stdin); fflush(stdin); }