chap 2 notes 17 - C++ is a case-sensitive language, meaning...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
17 VARIABLE NAMES Variable names may be of any length (although most compilers stop differentiating between names after the 31st character) Variable names must begin with a letter or an underscore, '_'. The remaining characters must be letters, numbers or the underscore.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: C++ is a case-sensitive language, meaning the variables PERCENT , percent and Percent are three different variable names. Variables may not have the same name as any C++ reserved keyword. e.g., float , int...
View Full Document

Ask a homework question - tutors are online