a) const
b) volatile
c) both const & volatile
d) static
Answer: c
Explanation: Pointer can point to any variable that is not declared with const & volatile.
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