(A) True
(B) False
(C) Both
(D) None
Tag: Digital Logic Design Mcqs
delete operator is used to return memory to free store which is allocated by the new operator?
(A) True
(B) False
(C) Both
(D) None
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
The boolean expression A + B’ + C is?
(A) a sum term
(B) a literal term
(C) a product term
(D) a complemented term
If two adjacent 1s are detected in the input, the output is set to high?
(A) 0011
(B) 0101
(C) 1100
(D) 1010