What are the mandatory part to present in function pointers?
The data types are mandatory for declaring the variables in the function pointers.
View Answer Report Error Discuss
To which type of class, We can apply RTTI?
RTTI is available only for classes which are polymorphic, which means they have at least one virtual method.
Which among the following are not access Specifiers in C++?
Default is the access specifier in java not in C++
Which keyword is used to declare the min and max functions?
Algorithm header file contain the supporting files needed for the execution of these functions.
How to handle error in the destructor?
It will not throw an exception from the destructor but it will the process by using terminate() function.
How many ways are there to initialize int with a constant?
There are two formats for initializers in C++ as shown in the example that follows. The first format uses the traditional C notation. The second format uses constructor notation.
int foo = 123;
int bar (123);
How many types of macros are there in c++?
There are two types of macros. They are object-like and function-like.
Which of the following can derived class inherit?