CS201
|
To Perform Manipulation With Input/Output We Have To Include Header File.
|
Iostream.H
|
Stdlib.H
|
Iomanip.H
|
Fstream.H
|
A
|
CS201
|
A Friend Function
|
Must Be Having A Prototype With No Arguments
|
Can Access The Private Data Of The Class That Declares It A Friend
|
Cannot Access The Data Members Of A Class
|
Must Be Invoked By The Class That Declares It A Friend
|
B
|
CS201
|
How Many Total Elements Must Be In Two-Dimensional Array Of 3 Rows And 2 Columns?
|
4
|
5
|
6
|
7
|
C
|
CS201
|
Ofstream Is Used For__________
|
Input File Stream
|
Output File Stream
|
Input And Output File Stream
|
All Of The Given
|
B
|
CS201
|
Static Member Functions
|
Must Be Declared Inside The Class Definition But Defined Outside It
|
Must Be Declared Private
|
Have Multiple Copies For The Entire Class
|
Can Access Only Static Data
|
D
|
CS201
|
A Function That Calls Itself Is Known As
|
Iterative Function
|
Inline Function
|
Recursive Function
|
Main ()
|
C
|
CS201
|
Which Looping Process Checks The Test Condition At The End Of The Loop?
|
For
|
While
|
Do While
|
No Looping Process Checks The Test Condition At The End
|
C
|
CS201
|
If Int A = 50; Then The Value Of A/= 3; Will Be
|
15
|
16
|
17
|
18
|
B
|
CS201
|
A Copy Constructor Is Always Called When
|
An Object Is Initialized With Another Object Data Of The Same Class When It’S Created
|
An Object Is Initialized With Another Object Of Any Class When It’S Created
|
An Object Is Initialized With A Variable Of A Basic Type When It’S Created
|
An Object Is Not Initialized When It’S Created
|
A
|
CS201
|
When A Macro Takes Arguments Then It Is Called_____________________.
|
Function
|
Procedure
|
Parameterized Macro
|
Simple Macro
|
C
|
CS201
|
The Name Of An Array Represents Address Of First Location Of Array Element.
|
True
|
False
|
|
|
A
|
CS201
|
The Delete Operator Returns Nothing (Void) And Accepts A Pointer Of Void * To The Memory Block.
|
True
|
False
|
|
|
A
|
CS201
|
A Copy Constructor
|
Takes No Arguments
|
Copies The Data Of Any Two Constructors In That Class
|
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
|
C
|
CS201
|
__________.
|
Paying Attention To Detail
|
Think About The Reusability
|
Think About User Interface
|
All Of The Given Options
|
D
|
CS201
|
In C++ We Can Have Structures Or Classes Defined Inside Classes. Classes Defined Within Other Classes Are Called __________ Classes.
|
Nested
|
Child
|
Parent
|
Branch
|
A
|
CS201
|
For Non-Member Operator Function Object On Left Side Of The Operator May Be
|
Object Of Operator Class
|
Object Of Different Class
|
Built-In Data Type
|
All Of The Given Options
|
B
|
CS201
|
It Is A Way Of Reusing The Code When We Contain Objects Of Our Already Written Classes Into A New Class
|
True
|
False
|
|
|
A
|
CS201
|
Initializing The Data Members In The Definition Of The Class Is __________
|
Syntax Error
|
Logical Error
|
Not An Error
|
None Of The Given Options
|
B
|
CS201
|
In C/C++ The String Constant Is Enclosed
|
In Curly Braces
|
In Small Braces
|
In Single Quotes
|
In Double Quotes
|
D
|
CS201
|
Computer Can Understand Only __________Language Code
|
High Level
|
Low Level
|
Machine
|
Fourth Generation
|
C
|