What is a C identifier? An identifier is the name used for a - TopicsExpress



          

What is a C identifier? An identifier is the name used for a variable, function, data definition, etc. Rules for identifiers: Legal characters are a-z, A-Z, 0-9, and _. Case is significant. The first character must be a letter or _. Identifiers can be of any length (although only the first 31 characters are guaranteed to be significant). The following are reserved keywords, and may not be used as identifiers: auto double int struct break else long switch case enum register typedef char extern return union const float short unsigned continue for signed void default goto sizeof volatile do if static while Here are some examples of legal identifiers: i count NumberOfAardvarks number_of_aardvarks MAX_LENGTH
Posted on: Wed, 05 Jun 2013 16:25:18 +0000

Trending Topics



Recently Viewed Topics




© 2015