{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

L02b_TypesOperatorsAssignment

L02b_TypesOperatorsAssignment - CS1372 HELPING TO PUT THE...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
CS1372: HELPING TO PUT THE COMPUTING IN ECE CS1372: HELPING TO PUT THE COMPUTING IN ECE CS1372 Types, Operators and Assignment Statements
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
CS1372: HELPING TO PUT THE COMPUTING IN ECE Variable Names Names must be letters and numbers Underscore _ counts as a letter. Don’t use _ as leading character Case sensitive Traditional to use lower case for variable names and upper case for symbolic (i.e. preprocessor) constants At least first 31 characters are significant!
Background image of page 2
CS1372: HELPING TO PUT THE COMPUTING IN ECE Variable Names Function names and external variables may be limited in length Keywords are reserved. You cannot use them. Variable names should be expressive Use short names for local variables Use longer names for external variables
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
CS1372: HELPING TO PUT THE COMPUTING IN ECE Data Types and Sizes Data Type: a data type is a classification identifying one of various types of data, such as floating-point, integer, or Boolean, that determines the possible values for that type; the operations that can be done on values of that type; and the way values of that type can be stored.
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}