The syntax error is an error in the source code, like misspelling a command mnemonic or failing to define a label before using it in the program, and further discussion can be defined as follows:
In point C it is incorrect because it uses the if block to assign value, which will give the invalid syntax error therefore, the answer is "Option C".
Learn more:
brainly.com/question/14530982