Arjun Suresh (talk | contribs) |
Arjun Suresh (talk | contribs) |
||
| Line 57: | Line 57: | ||
* 65535 bytes in an object (in a hosted environment only) | * 65535 bytes in an object (in a hosted environment only) | ||
* 15 nesting levels for #included files | * 15 nesting levels for #included files | ||
| − | * 1023 case labels for a switch statement (excluding those for any nested switch | + | * 1023 case labels for a switch statement (excluding those for any nested switch statements) |
| − | statements) | ||
* 1023 members in a single structure or union | * 1023 members in a single structure or union | ||
* 1023 enumeration constants in a single enumeration | * 1023 enumeration constants in a single enumeration | ||
* 63 levels of nested structure or union definitions in a single struct-declaration-list | * 63 levels of nested structure or union definitions in a single struct-declaration-list | ||
{{Template:FBD}} | {{Template:FBD}} | ||
Keywords are reserved words in C, which a programmer must not use for other purposes. In C11 standard there are totally 44 keywords which are as follows:
| auto | if | unsigned |
| break | inline | void |
| case | int | volatile |
| char | long | while |
| const | register | _Alignas |
| continue | restrict | _Alignof |
| default | return | _Atomic |
| do | short | _Bool |
| double | signed | _Complex |
| else | sizeof | _Generic |
| enum | static | _Imaginary |
| extern | struct | _Noreturn |
| float | switch | _Static_assert |
| for | typedef | _Thread_local |
| goto | union | |
Any C compiler (conforming to C11 standard) should be able to handle the following cases:
Keywords are reserved words in C, which a programmer must not use for other purposes. In C11 standard there are totally 44 keywords which are as follows:
| auto | if | unsigned |
| break | inline | void |
| case | int | volatile |
| char | long | while |
| const | register | _Alignas |
| continue | restrict | _Alignof |
| default | return | _Atomic |
| do | short | _Bool |
| double | signed | _Complex |
| else | sizeof | _Generic |
| enum | static | _Imaginary |
| extern | struct | _Noreturn |
| float | switch | _Static_assert |
| for | typedef | _Thread_local |
| goto | union | |
Any C compiler (conforming to C11 standard) should be able to handle the following cases: