What is output of follwoing
int main() {
cout << "R4R" << endl;
return 0;
}
1.Execution time error
2.Syntax error
3.R4R
4.None
What is output of follwoing
int main() {
cout << "R4R" << endl;
return 0;
}
1.Execution time error
2.Syntax error
3.R4R
4.None
2.Syntax error
3.R4R
3. R4R
R4R
3.R4R
R4R
syntax error nahi aaegi
ANS:- R4R
3.R4R
no compile time error
R4R
This Program will produce error stating that undefined variables such as cout and endl.
When u include #include will produce the output as
"R4R"
R4R is the correct answer and it is assumed that header files are included
R4R
What is output of follwoing
int main() {
cout << "R4R" << endl;
return 0;
}
1.Execution time error
2.Syntax error
3.R4R
4.None