T

Team MCQ Buddy • 20.45K Points
Instructor III

Q. Which is the correct syntax to declare a file pointer in C?

  • (A) File *file_pointer;
  • (B) FILE *file_pointer;
  • (C) File file_pointer;
  • (D) FILE *file_pointer;

Explanation by: Team MCQ Buddy
The correct syntax to declare a file pointer in C is:

FILE *file_pointer;

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics