1.

What is the output of this program?
#include 
using namespace std;
void function(int p)
{
cout << p;
}
int main()
{
void (*num)(int);
num = &function;
(*num)( 3 );
num( 11 );
return 0;
}

A. 11
B. 3
C. 311
D. 113
E. None of these
Answer» D. 113


Discussion

No Comment Found

Related MCQs