-
What is the output of this program?
#include <iostream>
using namespace std;
int main(void)
{
const char *First = "Interview Mania";
cout << First << endl;
const char *Second = First;
cout << Second << endl;
return 0;
}
-
- Interview Mania
- Interview Mania
Interview Mania - Interview Mania
Interview Mania
Interview Mania - Interview Mania
Interview Mania
Interview Mania
Interview Mania - None of these
Correct Option: B
We are copying the values from one variable to other, So it will print two time Interview mania.