The file that contains its definition must be included in program is called….
a) reserve file
b) header file
c) program file
d) all of these
Which of the following is the correct structure of header file?
a) #include<…….>
b) #include (……)
c) #include {…….}
d) #include [….]
Which of the following symbol is used to represent single line comment?
a) ampersand (&)
b) at rate (@)
c) double slash (//)
d) none of these
Which of the following symbol is used for multi-line comment?
a) @....@
b) //……//
c) /*……*/
d) /*………/*
Explanation: multi-line comment start with slash asterisk and end with asterisk slash
How many types of errors in C++?
a) one
b) two
c) three
d) four
Explanation: syntax error, logical error, run-time error
Which of the following header file is used for input/output stream file?
a) stream.h
b) iostream.h
c) iostram.h
d) iostream