1.

What is the output of this program?
#include <iostream>
#include <string>
using namespace std;
int main ()
{
string name ("Manjesh");
string family ("Ojha");
name += " Interview Mania ";
name += family;
name += ' n';
cout << name;
return 0;
}

A. Manjesh
B. Ojha
C. Interview Mania
D. Manjesh Ojha Interview Mania
E. Manjesh Interview Mania Ojha
Answer» F.


Discussion

No Comment Found

Related MCQs