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 a file closed ?

  • Ans 1: When a program has no further use of file , it should close it with fclose ( ) library .function
    Syntax:
    int fclose (FILE*fp)
    The fclose() function closes the file associated with fp, which must be valid file pointer previously obtained using fopen ( ), and disassociates the stream from the file. It also destroys structure that was created to store information about file.
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 a file closed ?

  • Ans 1: When a program has no further use of file , it should close it with fclose ( ) library .function
    Syntax:
    int fclose (FILE*fp)
    The fclose() function closes the file associated with fp, which must be valid file pointer previously obtained using fopen ( ), and disassociates the stream from the file. It also destroys structure that was created to store information about file.
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.

Share your comments & questions here

Guest
  • No comments yet. Be the first to comment!