You are on page 1of 2

C Language Program: A program is a set of instructions in sequence to complete a particular task using a computer.

. Programs are used to solve the problems using computer. Programming Languages: The languages that are used to write programs to give instructions to the computer are called as Programming Languages. These are of 3 types. 1. Machine Language: The languages which can understand by the computer directly are called as Machine Languages. Ex: Binary Language 2. Assembly Language: The languages that contain both human code and binary code are called as Assembly Language. Ex: Assembly Language. 3. High Level Languages: The languages that are written using simple English code are called High Level Languages. Ex: BASIC, COBOL, FORTRAN, Pascal, C, C++, Java Language Translator: A language translator that is used to translate the human code to binary code and binary code to human code. There are 2 types of translators. 1. Interpreter: It reads the program line by line and when error occurs stops the translation and display an error message. After debugging the error it starts the translation from the first line. 2. Compiler: It reads the entire program once and display the errors list. After debugging all errors translates the program code. Note: Interpreter is accurate than compiler where the compiler is quicker than interpreter. With C Language we use compiler for translation. BASIC Beginners All purpose Symbolic Instruction Code COBOL Common Business Oriented Language FORTRAN Formula Translation Pascal For solving mathematical problems. History of C Language 1960 International Committee 1963 Cambridge University 1967 Martin Richards (CU) 1970 Ken Thompson (AT & T Bell Labs) 1972 Dennis Ritchie (AT & T Bell Labs) 1978 Dennis Ritchie & Kernighan

ALGOL 60 CPL BCPL B Language C Language K & R C.

C is a popular general purpose high-level programming language developed by Dennis Ritchie in 1972 at AT & T Bell Laboratories. Introduction to Programming in C Steps in Learning English Alphabets Words Steps in Learning C Language Character Set Words (Tokens)

Sentence Statements (Instructions)

Paragraph Paragraph

Character Set of C: C uses all ASCII Characters It contains 256 characters. These are categorized into 3 categories. 1. Alphabets A to Z a to z 2. Digits 0 to 9 3. Special Characters 1. Special Symbols 2. Operators 3. Backslash Characters

You might also like