1.

What is the output of this program?
#include <iostream>
#include <string>
using namespace std;
int main()
{
string str = "Interview Mania";
str.insert(str.size() / 3, " * ");
cout << str << endl;
return 0;
}

A. Interview
B. Mania
C. Inter * view Mania
D. Interview Mania
E. None of these
Answer» D. Interview Mania


Discussion

No Comment Found

Related MCQs