Code Question Option A Option B Option C Option D Answer
CS201 If Text Is A Pointer Of Class String Then What Is Meant By The Following Statement? Text = New String [5]; Creates An Array Of 5 String Objects Statically Creates An Array Of 5 String Objects Dynamically Creates An Array Of Pointers To String Creates A String Object B
CS201 If The Break Statement Is Missed In Switch Statement Then The Compiler Will Give Error This May Cause A Logical Error No Effect On Program Program Stops Its Execution C
CS201 If The Memory In The Free Store Is Not Sufficient Enough To Fulfill The Request Malloc() Function Returns No Pointer. True False B
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 If The Statements Int J K; J = 123; K= 234; Int* Q * R; Cout < < *Q < < < < * R ; Are Executed What Will Be Displayed? The Values Of J And K The Addresses Of Q And R The Addresses Of J And K Garbage Values D
CS201 If We Define An Identifier With The Statement #Define Pi 3.1415926 Then During The Execution Of The Program The Value Of Pi __________. Can Not Be Replaced None Of The Given Options Remain Constant Can Be Changed By Some Operation C
CS201 If We Do Not Mention Any Return_Value_Type With A Function It Will Return An Value. Int Void Double Float A
CS201 If We Open A File Stream Myfile For Reading What Will Give Us The Current Position Of The File Pointer? Tellg() Tellp() Seekg() Seekp() A
CS201 If We Want To Use Stream Insertion And Extraction Operators With Then We Have To Overload These Operators. Int Float Double Objects Of Class Int Float Object Int Char Float B
CS201 In A Group Of Nested Loops Which Loop Is Executed The Most Number Of Times? The Outermost Loop The Innermost Loop All Loops Are Executed The Same Number Of Times Cannot Be Determined Without Knowing The Size Of The Loops B
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 In C/C++ The String Constant Is Enclosed In Curly Braces In Small Braces In Single Quotes In Double Quotes 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 In Flow Chart Process Is Represented By Rectangle Arrow Symbol Oval Circle C
CS201 In Functions That Return Reference Use __________Variables. Local Global Global Or Static None Of The Given Option C
CS201 In Functions That Return Reference Use Global Or Static Variables. True False A
CS201 In Functions That Return Reference Use Only Static Variables. True False B
CS201 In If Structure The Block Of Statements Is Executed Only Type Letters When It Contain Arithmetic Operators When It Contain Logical Operators When The Condition Is True D
CS201 In Overloading The Assignment (=) Operator Which Object Will Call The Operator Function? Right Object Of The Assignment Operator Left Object Of The Assignment Operator Both Objects Will Call The Assignment Operator No Object Will Call The Assignment Operator C
CS201 In The Member Initializer List The Data Members Are Initialized From Left To Right From Right To Left In The Order In Which They Are Defined Within Class None Of The Given Options C