a) methods in c++
b) class member in c++
c) methods & class member in c++
d) none of the mentioned
Answer: d
Explanation: A void pointer can point to methods & class member in c++.
Related Posts
How many minimum number of functions should be present in a C++ program for its execution?
What is the scope of the variable declared in the user defined function?
What will be the output of the following C++ code?
#include <iostream>
using namespace std;
void fun(int x, int y)
{
x = 20;
y = 10;
}
int main()
{
int x = 10;
fun(x, x);
cout << x;
return 0;
}What will be the output of the following C++ code?
#include <iostream>
using namespace std;
void mani()
void mani()
{
cout<<“hai”;
}
int main()
{
mani();
return 0;
}Which is more effective while calling the functions?
How many can max number of arguments present in function in the c99 compiler?
which of the following is used to terminate the function declaration?
Join The Discussion