Expert in study
Computer Science
Richard David Richard David Dec 13, 2020

Which program has no syntax error1. #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: 1
Register to add an answer
The time for answering the question is over

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.

check in check in
Dec 13, 2020
For answers need to register.
Expert in study
About us
For new users
For new experts
Terms and Conditions