Professional Documents
Culture Documents
CS107 Exam Reference Sheet
CS107 Exam Reference Sheet
Memory
void *malloc(size_t sz);
void *calloc(size_t nmemb, size_t sz);
void *realloc(void *ptr, size_t sz);
void free(void *ptr);
I/O
char *gets(char buf[]);
char *fgets(char buf[], int buflen, FILE *fp);
int fgetc(FILE *fp);