You are on page 1of 2

answer answer

questionStatement answerA answerB answerC D E


Comeau C/C++ comes with its own
version of Standard C++ library
called: stdlib libcomo slibrary clibrary  
Choose the correct statements
regarding inline functions:<br/>
1) It speeds up execution.<br/>
2) It slows down execution.<br/>
3) It increases the code size.<br/>
4) It decreases the code size.<br/>
5) It slightly breaks your
encapsulation. 1, 3 2, 4 2, 4, 5 1, 3, 5 1, 4
C++ allows Assignment
any operator operators Operator None of
to be cannot be precedence can the
Choose the incorrect statement: overloaded. overloaded. be changed. above.  
Choose the correct option for the
following program Results
fragment:<br/>void main( ) Prints 10 and in
<br/>{<br/>int x = 10 ;<br/>int &p = x the address Results in run Prints 10 and the compile Both 1
;<br/>cout << *(&p) << &x ;<br/>} of x. time error. address of p. error. and 3.
For a method to be an interface
between the outside world and a
class, it has to be declared _____. friend protected public extern  
Progra
What is the correct value which the ms do
program returns to the operating not
system upon the successful return a
completion of it? -1 1 0 value. -
Which of the following operators can
be used to compare two variables? := != equal none  
Which of the following is not a valid
escape code? \t \v \f \w  

When requesting for multiple datum, All of


which of the following can work as a A new line the
separator? A space A tab character character above  
To overload To overload
functions, To overload functions,
different functions, different return
return types different return types is not a
of types along necessary
overloaded with different condition. Only
functions is a argument types argument types None of
Which of the following statements is necessary is a necessary must be the
true? condition. condition. different above.  

You might also like