Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 1. C++ Introduction > Identifiers, Types, and Literals

1.12. Identifiers, Types, and Literals

Identifiers are names that are used in C++ programs for functions, parameters, variables, constants, classes, and types.

An identifier consists of a sequence of letters, digits, and underscores that does not begin with a digit. An identifier cannot be a reserved keyword. See Appendix A, “C++ Reserved Keywords,” for a list of them. The standard does not specify a limit to the length of an identifier, but certain implementations of C++ examine only the first 31 characters to distinguish between identifiers.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint