mane{ } /* this is a main …/* ( print(‘ that’s great. /n’) A5. The following errors are noticed in this program:
(a) The word
main is not spelled correctly.
(b) Parentheses should be used instead of braces after the word
main .
(c) The wrong slash symbol is used in the first comment symbol.
(d) The characters in the terminating comment symbol are reversed.
(e) The body of the program should commence with a left brace, not a left parenthesis.
(f) The function should be spelled as
printf and not print.
(g) The literal should be delimited by double instead of single quotation marks.
(h) The newline character has an incorrect type of slash.
(i) The semicolon is missing from the printf statement.
(j) The final right brace is missing.