Which of the following has the compilation error in C?

PYQ ISRO Scientist/Engineer SC 2015Modified — slightly modified from the official paper; see the solution

Which of the following has the compilation error in C?

  1. A.

    int n = 17;

  2. B.

    char c = 99;

  3. C.

    float f = (float) 99.32;

  4. D.

    #include<stdio.h

Attempted by 19 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…