(A) A pointer
(B) A reference
(C) An integer
(D) A float
Tag: Introduction to Programming Mcqs
In the member initializer list, the data members are initialized,?
(A) From left to right
(B) From right to left
(C) In the order in which they are defined within class
(D) None of the given options
Assignment operator is used to initialize a newly declared object from existing object?
(A) True
(B) False
(C) Both
(D) None
With user-defined data type variables (Objects), self assignment can produce __.
(A) Syntax error
(B) Logical error
(C) Link error
(D) Non of the given options
When an operator function is defined as member function for a binary Plus (+) operator then the number of argument it take is/are?
(A) Zero
(B) One
(C) Two
(D) N arguments
While calling function, the arguments are assigned to the parameters from __.
(A) left to right.
(B) right to left
(C) no specific order is followed
(D) none of the given options.
The default value of a parameter can be provided inside the __.
(A) function prototype
(B) function definition
(C) both function prototype or function definition
(D) none of the given options.
The programs, in which we allocate static memory, run essentially on __.
(A) Heap
(B) System Cache
(C) None of the given options
(D) Stack