ISRO Computer Science (CSE) 2015 - Question 74

All ISRO Computer Science (CSE) papers | ISRO Computer Science (CSE) 2015

Which of the following has the compilation error in C?

  • A. int n = 17;
  • B. char c = 99;
  • C. float f = (float) 99.32;
  • D. #include <stdio.h>

Answer: D. #include <stdio.h>

Explanation: Assuming the directive is placed inside a function block or context where it causes issues, or simply recognizing it as a preprocessor directive listed as a code statement option.

| | All questions of ISRO Computer Science (CSE) 2015