CS201
|
The Default Constructor Is Defined By The C++ Compiler Automatically For Every Class That Has No Default Constructor (Parameterless Constructor) Defined Already.
|
True
|
False
|
|
|
A
|
CS201
|
Operator Functions Written As Non-Members But Friends Of The Class Get Both The Operands As Their Arguments.
|
True
|
False
|
|
|
A
|
CS201
|
A Preprocessor Directive Is Identified By ___________ Symbol
|
#
|
{
|
(
|
~
|
A
|
CS201
|
A Copy Constructor
|
Creates An Object Initialized With The Same Data As An Existing Object
|
Creates A New Object That Later May Be Assigned The Data Of An Existing Object
|
Creates A New Object That Later May Be Assigned The Data Of An Existing Object
|
Takes An Arbitrary Number Of Arguments
|
B
|
CS201
|
Template Class Can Not Have Static Variables.
|
True
|
False
|
|
|
B
|
CS201
|
What Will Be The Correct Syntax Of The Following Statement? Ptr Is A Constant Pointer To Integer.
|
Const Int *Ptr ;
|
Const *Int Ptr ;
|
Int Const *Ptr ;
|
Int *Const Ptr ;
|
C
|
CS201
|
___________ Keyword Is Used To Return Some Value From A Function.
|
Break
|
Return
|
Continue
|
Goto
|
B
|
CS201
|
What Will Be The Output Of The Following Statement?
Cout << Setbase(16) << 52 ;
|
52
|
34
|
61
|
74
|
B
|
CS201
|
Suppose A Program Contains An Array Declared As Int Arr[100]; What Will Be The Size Of Array?
|
0
|
99
|
100
|
101
|
C
|
CS201
|
C++ Provides Member Functions Which Control The Formatting To Be Performed During Stream I/O Operations.
|
True
|
False
|
|
|
B
|
CS201
|
Eof( ) Bad( ) Good( ) Clear( ) All Are Manipulators.
|
True
|
False
|
|
|
A
|
CS201
|
The First Parameter Of Operator Function For << Operator _____________________.
|
Must Be Passed By Value
|
Must Be Passed By Reference
|
Can Be Passed By Value Or Reference
|
Must Be Object Of Class
|
B
|
CS201
|
The Declarator Of Plus (+) Member Operator Function Is
|
Class-Name Operator + (Class-Name Rhs)
|
Operator Class-Name + ( )
|
Operator Class-Name + ( Rhs)
|
Class-Name Operator + ( )
|
A
|
CS201
|
The Appropriate Data Type To Store The Number Of Rows And Colums Of The Matrix Is__________.
|
Float
|
Int
|
Char
|
None Of The Given Options.
|
B
|
CS201
|
New And Delete Can Overload In C++
|
True
|
False
|
|
|
B
|
CS201
|
A Friend Function Of A Class Has Access
|
To All Data Member And Functions Of The Class
|
Only To Other Friend Functions Of The Class
|
Only To Private Data Of The Class
|
Only To Public Data Of The Class
|
A
|
CS201
|
If The Return Type Of A Function Is Void Then It Means That It Will
|
Return Any Type Of Data
|
Return Some Specific Type Of Data
|
Return No Data
|
Return Just Character Data
|
C
|
CS201
|
In C/C++ If We Define An Array Of Size Eight (8) I.E. Int Arr [8]; Then The Last Element Of This Array Will Be Stored At
|
Arr[0]
|
Arr[8]
|
Arr[7]
|
Arr[-1]
|
C
|
CS201
|
"New" And "Delete" Keywords Are __________ In C++ Language.
|
Built-In- Function
|
Operators
|
Memory Allocation Function
|
None Of The Given Options
|
C
|
CS201
|
The Input/Output Streams; Cin And Cout Are
|
Operators
|
Functions
|
Objects
|
Structures
|
C
|