(A) Class-Name operator – (Class-Name rhs)
(B) operator Class-Name – ( )
(C) operator Class-Name – ( rhs)
(D) Class-Name operator – ( )
Tag: Intro to Programming
There are two types of operators to overload: unary and binary?
(A) True
(B) False
(C) Both
(D) None
Operator Overloading is quite similar to Function Overloading?
(A) True
(B) False
(C) Both
(D) None
A friend function?
(A) must be having a prototype with no arguments
(B) can access the private data of the class that declares it a friend
(C) cannot access the data members of a class
(D) must be invoked by the class that declares it a friend
If the memory in the free store is not sufficient enough to fulfill the request, malloc() function returns NO pointer?
(A) True
(B) False
(C) Both
(D) None
Whenever new operator is used, no number of bytes or sizeof operator is required?
(A) True
(B) False
(C) Both
(D) None
The function free() returns back the allocated memory got thorough calloc and malloc to __.
(A) stack
(B) heap
(C) stack and heap
(D) None of the given options
this is a pointer which always points to the current object?
(A) True
(B) False
(C) Both
(D) None