1.

What is the output of this program?
#include <iostream>
#include <string>
using namespace std;
int main ()
{
string s ("Interview Mania");
for (size_t k = 0; k < s.length();)
{
cout << s.at(k-1);
}
return 0;
}

A. Interview
B. Mania
C. Interview Mania
D. Compilation Error
E. Runtime Error
Answer» F.


Discussion

No Comment Found

Related MCQs