A

Admin • 828.03K Points
Coach

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;
  • Correct Answer - Option(B)
  • Views: 6
  • Filed under category C Programming
  • Hashtags:

Explanation by: Admin
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.