1.

What is the output of this program?
#include 
using namespace std;
int main()
{
char ch[30];
cout << "Enter Name: ";
gets(ch);
cout << "Name: ";
puts(ch);
return 0;
}

A. Runtime Error
B. Garbage value
C. Exception occur
D. Compilation Error
E. None of these
Answer» E. None of these


Discussion

No Comment Found

Related MCQs