The C Standard Library - stdio.h - Statistics

General Stats
  • This quiz has been taken 6 times
  • The average score is 7 of 15
Answer Stats
Type Parameters Description Function % Correct
int const char *format, ... Writes formatted output, as specified by the format string, to stdout printf()
100%
int FILE *stream Closes the file associated with the specified stream fclose()
75%
int FILE *stream Reads a character from the specified file stream and returns it fgetc()
75%
FILE * const char *filename, const char *mode Opens a file of the specified name in the specified mode; returns a pointer to that file fopen()
75%
int const char *format, ... Reads formatted input from stdin scanf()
75%
int FILE *stream, const char *format, ... Writes formatted output, as specified by the format string, to the specified file stream fprintf()
50%
int (no parameters) Reads a character from stdin and returns it getchar()
50%
int int character Writes the specified character to stdout putchar()
50%
int FILE *stream Returns a non-zero value if the end-of-file has been reached for the specified file stream; returns zero otherwise feof()
25%
char * char *str, int num, FILE *stream Reads no more than (num - 1) characters from the specified stream and puts them into the string pointed by str; when a newline character is reached, it is put into the string and the reading process terminates fgets()
25%
int FILE *stream Same as the above, but may be defined as a macro rather than a function getc()
25%
int const char *str Writes the specified string and a newline character to stdout puts()
25%
int const char *filename Deletes the file of the specified name remove()
25%
FILE * (no parameters) Creates a temporary file whose name is guaranteed to be different from that of any existing file; returns a pointer to that file tmpfile()
25%
long FILE *stream Returns the position of the file pointer relative to the start of the file ftell()
0%
No matching quizzes found
Score Distribution
Percent of People with Each Score
Percentile by Number Answered
Your Score History
You have not taken this quiz