Podcast
Questions and Answers
Which function is used to open a file in C for reading or writing?
Which function is used to open a file in C for reading or writing?
- fopen (correct)
- getc
- fclose
- putc
What type of file is the simplest to create when dealing with file handling in C?
What type of file is the simplest to create when dealing with file handling in C?
- System File
- Binary File
- Text File (correct)
- Executable File
Which feature of C is used for conditional compilation directives?
Which feature of C is used for conditional compilation directives?
- #ifdef
- #undef
- #include
- #define (correct)
What is the purpose of the putc function in C?
What is the purpose of the putc function in C?
Which type of file handling in C deals with a sequence of bytes on a disk?
Which type of file handling in C deals with a sequence of bytes on a disk?
Flashcards are hidden until you start studying