Code Question Option A Option B Option C Option D Answer
CS201 ___________Are Conventional Names Of The Command Line Parameters Of The ‘Main()’ Function. ‘Argb’ And ‘Argv’ ‘Argc’ And ‘Argv’ Argc’ And ‘Argu’ None Of The Given B
CS201 __________ Statement Interrupts The Flow Of Control. Switch Continue Goto Break D
CS201 When An Operator Function Is Defined As Member Function For A Binary Plus (+) Operator Then The Number Of Argument It Take Is/Are. Zero One Two N Arguments D
CS201 In Functions That Return Reference Use Only Static Variables. True False B
CS201 The Default Constructor Has No Arguments True False A
CS201 The Compiler Does Not Provide A Copy Constructor If We Do Not Provide It. True False B
CS201 What Is The Sequence Of Event(S) When Allocating Memory Using New Operator? Only Block Of Memory Is Allocated For Objects Only Constructor Is Called For Objects Memory Is Allocated First Before Calling Constructor Constructor Is Called First Before Allocating Memory D
CS201 By Default An Array Of Characters Is Passed By Value To A Function True False B
CS201 A Pointer Variable Can Be Decremented Only Incremented Only Multiplied Only Both 1 And 2 D
CS201 For Cin The Source Is Normally A __________ And Destination Can Be . File Native Data Type Disk User-Define Type Keyboard Variable File User-Define Type C
CS201 New And Delete Operators Cannot Be Overloaded As Member Functions. True False B
CS201 A Stream Is An Ordered Sequence Of Bytes. True False A
CS201 The Return Type Of The Operator Function For >> Operator Is __________. Class For Which We Overload This Operator Reference Of Ostream Class (Ostream&) Reference Of Istream Class (Istream&) Void C
CS201 From Following; Which One Is The Correct Syntax Of An Array Initialize: Array Size Is 10 And It Is Of Double Data Type To Value 0? Arr[10] = {0.0}; Double Arr[10]= 0.0; Double Arr[10] = {0.0}; Double Arr[] = 0.0; C
CS201 New And Delete Are Whereas Malloc And Free Are . Functions Operators Classes Operators Operators Functions Operators Classes C
CS201 Before Exiting The Program Make Sure That The Allocated Memory Has Freed. True False A
CS201 The Data Members Of The Class Are Initialized At Runtime True False A
CS201 We Can Also Do Conditional Compilation With Preprocessor Directives. True False A
CS201 Which Of The Following Is The Correct Statement For The Following Declaration? Const Int *Ptr. Ptr Is A Constant Pointer Ptr Is Constant Integer Pointer Ptr Is A Constant Pointer To Int Ptr Is A Pointer To Const Int D
CS201 The Second Parameter Of Operator Functions For << And >> Are Objects Of The Class For Which We Are Overloading These Operators. True False A