What is C Syntax?
C syntax refers to the set of rules that define the combinations of symbols that are considered to be correctly structured programs in the C language.
Basic Syntax Rules
- Every statement ends with a semicolon.
- Curly braces define the beginning and end of a block.
- Comments can be added using // or /* */.