use %s with fopen c code example Example: fopen c FILE *fopen(const char *filename, const char *mode)