Comments and Variables in C


Comments: ‘C’ supports the standard ‘C’ comment conventions. A one-line comment start with //; the comment includes all characters up to, but not including, the next new line character. A multi-line comment starts with ‘/*’ and ends with ‘*/’. Multi-line comments do not nest; a multi-line comment ends at the ?rst ‘*/’ after the opening ‘/*’. It is a checked compile-time error when an opened comment is not closed in a compilation unit. Comments are not recognized inside string and character literals. /* This is a multi-line comment */ //*/…

Read More