Type | Parameters | Description | Function | % Correct |
---|---|---|---|---|
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() | 100%
|
int | const char *format, ... | Writes formatted output, as specified by the format string, to stdout | printf() | 100%
|
int | const char *format, ... | Reads formatted input from stdin | scanf() | 100%
|
int | FILE *stream | Closes the file associated with the specified stream | fclose() | 67%
|
int | FILE *stream | Reads a character from the specified file stream and returns it | fgetc() | 67%
|
int | FILE *stream, const char *format, ... | Writes formatted output, as specified by the format string, to the specified file stream | fprintf() | 67%
|
int | (no parameters) | Reads a character from stdin and returns it | getchar() | 67%
|
int | int character | Writes the specified character to stdout | putchar() | 67%
|
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() | 33%
|
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() | 33%
|
int | FILE *stream | Same as the above, but may be defined as a macro rather than a function | getc() | 33%
|
int | const char *str | Writes the specified string and a newline character to stdout | puts() | 33%
|
int | const char *filename | Deletes the file of the specified name | remove() | 33%
|
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() | 33%
|
long | FILE *stream | Returns the position of the file pointer relative to the start of the file | ftell() | 0%
|
Copyright H Brothers Inc, 2008–2024
Contact Us | Go To Top | View Mobile Site