0

What is invalid syntax and syntax error

Error

21st Mar 2020, 3:05 PM
Ritesh Kumar
Ritesh Kumar - avatar
3 Answers
+ 1
It means you derived variables wrong way, it's not valid by syntax standards of programming language. If you show the code snippet which giving error, then community may help you with giving corrected code.. Hoppy coding..
21st Mar 2020, 3:16 PM
Jayakrishna 🇮🇳
Jayakrishna 🇮🇳 - avatar
+ 1
Just like if u write '2.3.5' in a calculator it would throw a syntax error coz 2.35 is correct. In programming languages, there are some rules like in C++ you must end ur statements with a semi-colon.
21st Mar 2020, 3:26 PM
maf
maf - avatar
+ 1
Thanks
18th Apr 2020, 1:51 PM
Ritesh Kumar
Ritesh Kumar - avatar