Discussion :: C++ - MCQs
-
What is the output of this program?
#include < iostream >
using namespace std;
int main( )
{
char line[100];
cin.getline( line, 100, 't' );
cout << line;
return 0
}
Answer : Option C
Explanation :
In this program, We are printing the input what we read from cin.
Be The First To Comment