In C language, FILE is of which data type ?

2026

In C language, FILE is of which data type ?

  1. A.

    int

  2. B.

    char*

  3. C.

    struct

  4. D.

    none of the above

Attempted by 255 students.

Show answer & explanation

Correct answer: C

In C programming, FILE is a structure type defined in the stdio.h header file. It acts as an opaque data type used to represent a stream of input/output operations.

Explore the full course: Up Lt Grade Assistant Teacher 2025