(A) True
(B) False
(C) Both
(D) None
Category: Introduction to Programming Mcqs
Introduction to Programming Mcqs for Screening tests, Interviews, Viva and Other competitive exams. Programming Mcqs section will help users to prepare mcqs of programming languages for various exams. Aspirants of Lecturer Computer Science, SST Computer Science, Subject Specialist Computer Science, Data Entry operator, Computer Programmer, Computer Operator, Software engineer and all other Competitive Exams can prepare their computer programming portion from here.
The new operator returns a void *, accepts a parameter of type size__t.
(A) True
(B) False
(C) Both
(D) None
The new operator returns a Type *, accepts a parameter of type size__t.
(A) True
(B) False
(C) Both
(D) None
The default constructor (parameterless constructor) is called for each element in the array allocated with new?
(A) True
(B) False
(C) Both
(D) None
The default constructor is defined by the C++ compiler automatically for every class that has no default constructor (parameterless constructor) defined already?
(A) True
(B) False
(C) Both
(D) None
If we define an identifier with the statement #define PI 3.1415926 then during the execution of the program the value of PI __.
(A) can not be replaced
(B) None of the given options
(C) Remain constant
(D) can be changed by some operation
When an array of object is created dynamically then there is no way to provide parameterized constructors for array of objects?
(A) True
(B) False
(C) Both
(D) None
Initializing the data members in the definition of the class is __.
(A) syntax error
(B) logical error
(C) not an error
(D) none of the given options