(A) True
(B) False
(C) Both
(D) None
Tag: Introduction to Programming Languages
The name of an array represents address of first location of array element?
(A) True
(B) False
(C) Both
(D) None
Suppose a program contains an array declared as int arr[100]; what will be the size of array?
(A) 0
(B) 99
(C) 100
(D) 101
If we do not mention any return_value_type with a function, it will return an __ value.
(A) int
(B) void
(C) double
(D) float
A template function must have at least __ generic data type?
(A) 0
(B) 1
(C) 2
(D) 3
The operator function of << and >> operators are always the member function of a class?
(A) True
(B) False
(C) Both
(D) None
new and delete operators cannot be overloaded as member functions?
(A) True
(B) False
(C) Both
(D) None
What is the sequence of event(s) when deallocating memory using delete operator?
(A) Only block of memory is deallocated for objects
(B) Only destructor is called for objects
(C) Memory is deallocated first before calling destructor
(D) Destructor is called first before deallocating memory