Char

From Computer Science Wiki
Revision as of 05:52, 7 August 2017 by Mr. MacKenty (talk | contribs) (Created page with "right|frame|Programming basics<ref>http://www.flaticon.com/</ref> A char in the C programming language is a primitive data type with the size of exactly o...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Programming basics[1]

A char in the C programming language is a primitive data type with the size of exactly one byte.[2]. You will remember a byte is 8 bits. Please be aware that not every letter fits into 8 bits.

Example[edit]

Examples of characters include letters, numerical digits, common punctuation marks (such as "." or "-"), and whitespace. The concept also includes control characters, which do not correspond to symbols in a particular natural language, but rather to other bits of information used to process text in one or more languages. Examples of control characters include carriage return or tab, as well as instructions to printers or other devices that display or otherwise process text.[3]

Do you understand this?[edit]

Standards[edit]

  • Define the terms: variable, constant, operator, object.

References[edit]