Syntax is a grammar of writing program. It is the rule of writing program in a correct way that may decreases the possibility of bug in the program. Programs written in any language have their own syntax rule. A coder/programmer must follow these rule so as to execute instructions in a correct way.
Semantic is a meaningful output of any instruction given by the programmer. Program written in a correct way may not produce correct output. The output must be generated that the program is designed to.
Semantic is a meaningful output of any instruction given by the programmer. Program written in a correct way may not produce correct output. The output must be generated that the program is designed to.
No comments:
Post a Comment
If you have any doubt, let me know...