+ 1
syntax means what??
10 Answers
+ 3
orthography or spelling of code blocks
+ 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.
+ 1
thanxxx bro
0
????? explain it in details....
0
I m finding diffucult to understand it
0
no problem, thats why im here
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
0
its like a grammar of code lang
0
the methodologies of writing you code is syntax .
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