Download Basics of C programming and more Study notes Computer Science in PDF only on Docsity!
UNIT 2 OVERVIEW OF C LINTRODUCTION C is a general-purpose, high-level language that was originally developed by Dennis M. Ritchie to develop the UNIX operating system at Bell Labs. C was originally first implemented on the DEC PDP-11 computer in 1972. C has now become a widely used professional language for various reasons Easy to learn Structured language It produces efficient programs It can handle low-level activities It can be compiled on a variety of computer platforms C was initially used for system development work, particularly the programs that make-up the operating system. C was adopted as a system development language Use of C Operating Systems Language Compilers Assemblers Text Editors Databases 2.CHARACTER_ SET A character set in C Programming Language is set of all valid character which is used to form a words, numbers and expression’s in source program. The character set is fundamental raw material of any language and they are used to represent information like natural language, computer language will also have well defined Character set, that is useful to build the programs. Type of character set There are four type of character set in C programming. « Alphabets e Digit e Special Character « White space Alphabets Alphabets has a two case. 1. Upper case A-Z 2. Lower case a-z.