Level 16
Level 18
7 words 0 ignored
Ready to learn
Ready to review
Ignore words
Check the boxes below to ignore/unignore words, then click save at the bottom. Ignored words will never appear in any learning session.
Ignore?
Tokens in C
A C program consists of various tokens and a token is either a keyword, an identifier, a constant, a string literal, or a symbol. For example, the following C statement consists of five tokens:
Semicolons ;
Its a statement terminator each individual statement must be ended with. It indicates the end of one logical entity
Comments
They are like helping text in your program. Ignored by the compiler, they start with /* and terminate with the */ characters
identifiers
variable, constant or function names that are case sensitive
Keywords
The following list shows the reserved words in C. These reserved words may not be used as constant or variable or any other identifier names.
Whitespace in C
A line containing only whitespace, possibly with a comment, is known as a blank line, and a C compiler totally ignores it.
Whitespace in C int age;
There must be at least one whitespace character (usually a space) between int and age for the compiler to be able to distinguish them. On the other hand, in the following statement: