 
			 
			MCQOPTIONS
 Saved Bookmarks
				This section includes 3 Mcqs, each offering curated multiple-choice questions to sharpen your Technical MCQs knowledge and support exam preparation. Choose a topic below to get started.
| 1. | EOF is an integer type defined in stdio. hand has a value ____________ | 
| A. | 1 | 
| B. | 0 | 
| C. | NULL | 
| D. | -1 | 
| E. | |
| Answer» E. | |
| 2. | fp = fopen("letsfindcourse.txt", "a");38.What does the following segment of code do?fprintf(fp, "Copying!"); | 
| A. | It writes "Copying!" into the file pointed by fp | 
| B. | It reads "Copying!" from the file and prints on display | 
| C. | It writes as well as reads "Copying!" to and from the file and prints it | 
| D. | None of the mentioned | 
| Answer» B. It reads "Copying!" from the file and prints on display | |
| 3. | Which is true about getc.getc returns? | 
| A. | The next character from the stream referred to by file pointer | 
| B. | EOF for end of file or error | 
| C. | Both a & b | 
| D. | Nothing | 
| Answer» D. Nothing | |