(A) True
(B) False
(C) Both
(D) None
Tag: Introduction to Computer Programming
When we do dynamic memory allocation in the constructor of a class, then it is necessary to provide a destructor.
(A) True
(B) False
(C) Both
(D) None
Overloaded member operator function is always called by?
(A) Class
(B) Object
(C) Compiler
(D) Primitive data type
What will be the correct syntax of the following statement? ptr is a constant pointer to integer?
(A) const int *ptr ;
(B) const *int ptr ;
(C) int const *ptr ;
(D) int *const ptr ;
Which of the following data type will be assumed if no data type is specified with constant?
(A) short
(B) float
(C) int
(D) double
In __ we try to have a precise problem statement.
(A) Analysis
(B) Design
(C) Coding
(D) None of the above
C is widely known as development language of __ operating system.
(A) Linux
(B) Unix
(C) Windows
(D) Mac OS
Loops are __ Structure.
(A) Decision
(B) Sequential
(C) Repetition
(D) None of the above