Character Types

Character Types - or unsigned char . You should never make...

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

View Full Document Right Arrow Icon
3: Character Types There are three character data types in C: (plain) char unsigned char signed char Character types are actually represented internally as integers (unsigned or signed). Two popular character sets:
Background image of page 1

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

View Full DocumentRight Arrow Icon
In order to write portable code, you should explicitly specify signed char
Background image of page 2
Background image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: or unsigned char . You should never make any assumptions about the code values of characters, such as that the value of 'A' is 65. Characters 3: Floating-point Types float double long double Use float.h for sizes and ranges. Only guarantee:...
View Full Document

Page1 / 3

Character Types - or unsigned char . You should never make...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online