4. Expressions
In terms of expressions, C is a normal language.
4.1 Identifiers
C identifiers start with a letter (or an underlined blank) and can continue with letters, numbers or underlined blanks. Only the first thirty-one letters are discriminating for the compiler, which differentiates between upper and lower case. There are thirty-two reserved keywords that cannot be used as identifiers (see Box 1).
In C99, the following keywords have been added: inline, restrict, _Bool, _Complex and _Imaginary.
We also advise against using identifiers for functions or macros predefined in standard libraries, as well as names beginning with underlined blanks, not forgetting the traditional asm and...
Exclusive to subscribers. 97% yet to be discovered!
Already subscribed? Log in!
Expressions
Article included in this offer
"Software technologies and System architectures"
(
227 articles
)
Updated and enriched with articles validated by our scientific committees
A set of exclusive tools to complement the resources
Bibliography
References
- (1) - KERNIGHAN (B.W.), RITCHIE (D.M.) - The C Programming Language. - Prentice-Hall (1978).
- (2) - HARBISON (S.P.), STEELE (G.L.) - C : A Reference Manual. - Prentice-Hall (1991).
Works
Exclusive to subscribers. 97% yet to be discovered!
Already subscribed? Log in!