1.

What is the output of this program?
#include 
using namespace std;
int fun(void *P);
int main()
{
char *S = "Interview Mania";
fun(S);
return 0;
}
int fun(void *P)
{
cout << P;
return 0;
}

A. Address of sting "Interview Mania"
B. Compilation Error
C. Runtime Error
D. Garbage Value
E. Interview Mania
Answer» B. Compilation Error


Discussion

No Comment Found

Related MCQs