which program has no syntax error
1. #cout my first program in c++
{
//cout>> "I am payal";
return 0;
}
2. //my first program in C++
{
cout<<"I am payal";
return 0;
}
Answers
Answered by
1
Explanation:
The traceback here is very helpful, with the caret pointing right to the problem character. You can clear up this invalid syntax in Python by switching out the semicolon for a colon. Here, once again, the error message is very helpful in telling you exactly what is wrong with the line.
Similar questions
Business Studies,
2 months ago
English,
2 months ago
Science,
4 months ago
Business Studies,
4 months ago
Math,
10 months ago
Math,
10 months ago