0
what is syntax error
4 Respuestas
+ 2
When u type smthng wrong which is not recognized by c++ , it is called syntax error.
+ 1
syntax error is like writing something incorrectly. it can happen a few ways. for example in English if we write, I have an hundred dollar bill, that'd syntax error. it should be a hundred dollar bill. in c++ it's kinda the same, it was looking for one thing but you gave it something else
+ 1
in simple language it is grammatical error check semi colon brackets etc
+ 1
syntax errors are errors made in the structure of a keyword