1.

What is the output of this program?
#include <iostream>
#include <cstring>
using namespace std;
int main ()
{
char s1[10] = "Interview";
char s2[10] = "Mania";
char s3[10];
int length ;
strcpy( s3, s1);
strcat( s1, s2);
length = strlen(s1);
cout << length << endl;
return 0;
}

A. Interview
B. Mania
C. Interview Mania
D. 14
E. None of these
Answer» E. None of these


Discussion

No Comment Found

Related MCQs