Introduction to C
History of C
- C was invented and first implemented by Dennis Ritchie on DEC PDP11
- that used the UNIX
- operating system.
- C is the result of a development process that started with an older language called BCPL.
- BCPL was developed by Martin Richards, and it influenced a language called B, which was
- invented by Ken Thompson.
- B led to development of C in the 1970.
- To alter this situation, ANSI established a committee in the beginning of 1983 to create a
- standard for C, which was implemented in 1987.
- ASCII is an acronym for the American Standard Code for Information Interchange.
- ASCII is a code for representing English characters as numbers, with each letter assigned a
- number from 0 to 127.
- For example, the ASCII code for uppercase M is 77.
- Most computers use ASCII codes to represent text, which makes it possible to transfer data from
- one computer to another.
- Text files stored in ASCII format are sometimes called ASCII files.
- Text editors and word processors are usually capable of storing data in ASCII format, although
- ASCII format is not always the default storage format.
- Most data files, particularly if they contain numeric data, are not stored in ASCII format.
- Executable programs are never stored in ASCII format.
- The standard ASCII character set uses just 7 bits for each character.
- There are several larger character sets that use 8 bits, which gives them 128 additional
- The extra characters are used to represent nonEnglish
- characters, graphics symbols, and
- mathematical symbols.