Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

The GNU C Programming Tutorial - Reserved words in C

Node:Reserved words in C, Next:, Previous:A note from the original author, Up:Top



Reserved words in C

Blah blah blah.

Here is a list of all the reserved words in C. The set of reserved words above is used to build up the basic instructions of C; you can not use them in programs your write

Please note that this list is somewhat misleading. Many more words are out of bounds. This is because most of the facilities which C offers are in libraries that are included in programs. Once a library has been included in a program, its functions are defined and you cannot use their names yourself.

C requires all of these reserved words to be in lower case. (This does mean that, typed in upper case, the reserved words could be used as variable names, but this is not recommended.)

(A "d" by the word implies that it is used as part of a declaration.)

auto d                   if
     break                        int d
     case                         long d
     char d                   register d
     continue                     return
     default                      short d
     do                           sizeof
     double d                 static d
     else                         struct
     entry                        switch
     extern d                 typedef d
     float d                  union d
     for                          unsigned d
     goto                         while

     also in modern implementations:

     enum d
     void d

     const d
     signed d
     volatile d

 
 
  Published under free license. Design by Interspire