ICS Part 2 Computer Science Chapter 14 Short Questions Test With Answer

Online Short Questions For Chapter 14 "ICS Part 2 Computer Science Chapter 14 Short Questions Preparation "

Try The Short Questions For ICS Part 2 Computer Science Chapter 14 Short Questions Preparation

  • Total Questions10

  • Available Sets1

Computer Science - ICS Part 2 Computer Science Chapter 14 Short Questions Preparation

Question # 1

How is file opened in C?

  • Ans 1: Before reading from or writing to a file, it must be opened. All Standard file handling file handling function of C are declared in stdio.h. Thus it is include in almost every program. To open a file and associate it with a stream, the fopen( ) function is used. Its prototype is shown here:
    File* fopen (const char * filename, const char* mode);
Submit

Prepare Complete Set Wise Questions For Chapter 14 "ICS Part 2 Computer Science Chapter 14 Short Questions Preparation "

ICS Part 2 Computer Science Chapter 14 Short Questions Preparation - Set 1

Question # 1

How is file opened in C?

  • Ans 1: Before reading from or writing to a file, it must be opened. All Standard file handling file handling function of C are declared in stdio.h. Thus it is include in almost every program. To open a file and associate it with a stream, the fopen( ) function is used. Its prototype is shown here:
    File* fopen (const char * filename, const char* mode);
Submit

14th Chapter

12th Computer Science Chapter 14 Preparation

Here you can prepare 12th Computer Science Chapter 14 Problem Solving Preparation. Click the button for 100% free full practice test.