Syntax: the rules that indicate how words and phrases can be combined to form sentences Semantics: the rules governing the meaning of words and sentences So syntax refers to the formation of...
syntax-it is the structure of the program.syntactic analysis checks whether the syntax is correct or not.if any of the punctuation(, ;) or ibraces are missing then the program wud b syntactically...
Diction is how the words are spoken 'The tip of the tongue the teeth the lips' Syntax is the rules on how to make sentences. 'You and I spoke to him and them and collected money from whom?'