syntax means what?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

syntax means what??

18th Sep 2016, 11:47 AM
Ajay Gadiyar
Ajay Gadiyar - avatar
10 Answers
+ 3
orthography or spelling of code blocks
18th Sep 2016, 11:56 AM
Dennis Wiebler
Dennis Wiebler - avatar
+ 3
if(a==2) cout<<"Hello"; thats correct because i set all blocks in the right way. if(a==2) cout<<Hello thats a "syntax error" because in this case i forgote the semicolons.
18th Sep 2016, 12:02 PM
Dennis Wiebler
Dennis Wiebler - avatar
+ 1
thanxxx bro
18th Sep 2016, 12:05 PM
Ajay Gadiyar
Ajay Gadiyar - avatar
0
????? explain it in details....
18th Sep 2016, 11:59 AM
Ajay Gadiyar
Ajay Gadiyar - avatar
0
I m finding diffucult to understand it
18th Sep 2016, 11:59 AM
Ajay Gadiyar
Ajay Gadiyar - avatar
0
no problem, thats why im here
18th Sep 2016, 12:06 PM
Dennis Wiebler
Dennis Wiebler - avatar
0
it is the outline of the program or loop or anything like that..... e.g if(condition){statement};else{statement}; here all the braces and semicolons are all together known as syntax
2nd Oct 2016, 5:31 PM
abhijit bora
abhijit bora - avatar
0
its like a grammar of code lang
22nd Oct 2016, 8:11 PM
Who?
0
the methodologies of writing you code is syntax .
13th Nov 2016, 5:23 AM
Kavish Hamza
Kavish Hamza - avatar
0
ahm well it's hard to explain that more detailed .... saying "im a big fan of the new elder scrolls because i like the game" is in that case a Syntax error, because i forgot the floating point between "scrolls" and "because". Same with 'cout << hello; If hello is not a declaired string and u just want to put out the word itself, then it is a Syntax error because u need to set hello in semicolons. Pretty easy
21st Mar 2017, 12:58 PM
Dennis Wiebler
Dennis Wiebler - avatar