+ 3
is syntax & structure of languages are same or not???
I mean I want to know difference between this two???
4 Answers
+ 4
thank you very much @lunađđđ
+ 2
syntax & structure @calvin
+ 2
Syntax is using appropriate tokens (keywords, functions, parameters) just like you use appropriate characters in any natural language. If @ wr1te l1k3 th1s you may be able to understand me, because you're a human, but the machine won't be able to understand characters it doesn't already know
Structure is more like grammar rules. Appropriate characters uses this sentence, but messed up the order is. As in English, there are rules how to arrange keywords, functions and it's parameters in programming. For example, usually, when you call a function, you should specify parameters in parentheses (different sign for different languages)
In short: you should use the right words and symbols (syntax) and order them in a correct way (structure)
0
which two??