Page 19 - C++
P. 19
the given C++ program. Identify the header files which are wrongly suggested by
Raman.
Program:
Suggested header files:-
1. iostream.h
2. stdio.h
3. conio.h
4. ctype.h
Ans stdio.h
conio.h
(1/2 mark for each correct header file)
(c) Rewrite the following program after removing the syntactical errors (if any). Underline 2
each correction.
Ans #include<iostream.h>
#include<conio.h>
typdef int Num; //Typedef should be written as typedef
Num full=100;
Page No. 2