Q.91   What will be the result of the expression 13 & 25?
(A) 38  (B)  25
(C)  9  (D)  12
 
   Ans:C


 Q.92   Which of the following operator can be overloaded through friend function?
(A)  ->  
(B)  =
(C)  ( )  
(D)  *      


 Ans:D
 
Q.93  To access the public function fbase() in the base class, a statement in a derived class function fder() uses the statement.fbase();
 
(A) fbase();  
(B)  fder();  
(C)  base::fbase();  
(D)  der::fder();
 
  Ans:A
 
Q.94 If a base class destructor is not virtual, then

(A) It can not have a function body.  
(B) It can not be called.
(C) It can not be called when accessed from pointer.
(D) Destructor in derived class can not be called when accessed through a pointer to the base class.
 
  Ans:D
 
Q.95 Maximum number of template arguments in a function template is

(A)  one  
(B)  two
(C)  three  
(D)  many
 
 Ans:D


Q 96  In access control in a protected derivation, visibility modes will change as follows:
   (A) private, public and protected become protected
   (B) only public becomes protected.
   (C) public and protected become protected.
   (D) only private becomes protected.
 
  Ans:C
 
Q 97  Which of the following statement is valid?

   (A) We can create new C++ operators.
   (B) We can change the precedence of the C++ operators.
   (C) We can change the associativity of the C++ operators.
   (D) We can not change operator templates.
   Ans:D
 
Q.98   What will be the output of the following program?
#include<iostream.h>
void main()
{
float x=5,y=2;
int result;
result=x % y;
cout<<result;
}

   (A) 1                (B)  1.0
   (C)   Error message  (D)  2.5
 
  Ans:C
 
Q.99 Which can be passed as an argument to a function?

(A)  constant          (B)  expression
(C)  another function  (D)  all of the above.
 
  Ans:A
 
Q.100 Member functions, when defined within the class specification:

(A)  are always inline.  
(B)  are not inline.
(C)  are inline by default, unless they are too big or too complicated.
(D)  are not inline by default.
 
  Ans:A