(A) :
(B) ,
(C) ;
(D) ::
Tag: C++ Mcqs
Which of the following symbol is used to donate a pre-processor statement?
(A) %
(B) $
(C) #
(D) @
Void occupy how many bytes in memory?
(A) 0
(B) 1
(C) 2
(D) 4
Int a[]={5,67,8,9}, what is the value of a[3]?
(A) 6
(B) 7
(C) 8
(D) 9
An exception in C++ can be generated using which keywords?
(A) catch
(B) throw
(C) threw
(D) throws
The constants are also called as?
(A) pre-processor
(B) const
(C) literals
(D) None of the above
Which is the only function call C++ programs must contain?
(A) main function
(B) inline function
(C) start function
(D) new function
Which of the following is important in a function?
(A) Function_name
(B) Return_type
(C) Parameter
(D) Both A & B