CS201
|
Which Of The Following Is Correct Way To Initialize A Variable X Of Int Type With Value 10?
|
Int X ; X = 10 ;
|
Int X = 10 ;
|
Int X X = 10;
|
X = 10 ;
|
B
|
CS201
|
What Is The Functionality Of The Following Statement? String Str[5] = {String(“Programming”) String(“Cs201”)};
|
Default Constructor Will Call For All Objects Of Array
|
Parameterized Constructor Will Call For All Objects Of Array
|
Parameterized Constructor Will Call For First 2 Objects And Default Constructor For Remaining Objects
|
Default Constructor Will Call For First 3 Objects And Parameterized Constructor For Remaining Objects
|
C
|
CS201
|
Assignment Operator Is Used To Initialize A Newly Declared Object From Existing Object.
|
True
|
False
|
|
|
A
|
CS201
|
Dec Hex Oct Are All __________
|
Member Functions
|
Objects Of Input/Output Streams
|
Parameterized Manipulators
|
Non-Parameterized Manipulators
|
C
|
CS201
|
The Function Call To A Default Constructor
|
Looks Like Any Function Call Except There Is No Return Value
|
Never Takes Any Arguments
|
Creates But Cannot Initialize An Object
|
Is Made Automatically When An Object Is Created
|
D
|