Skip to main content

Posts

Showing posts from December, 2019

Basic Elements of C programming language

Character sets: Combination of Alphabets, Digits and Symbols. Upper Case:   A to Z. ( ASCII code: 65 to 90) Lower Case:   a to z. ( ASCII code: 97 to 123) Digits:   0 to 9. ( ASCII code: 48 to 57) All the special symbols (symbol present in keyboard) are used in C programming language. Total number of characters:   256 On keyboard: 0-255. Space: 32, Escape: 12, Enter: 13. *Note: ASCII= " American Standard Code for Information Interchange ". 

Tokens in C language

Tokens in C programming language or Basic elements of C First of all we should discuss about Tokens, know about what is Tokens. Tokens :  "Tokens are smallest and individual unit of programming language". Why we need Basic Elements:  "The basic elements are used to construct a simple programs".  Tokens are classified into further categories: 1) Character set 2) Variable 3) Constant 4) Keywords 5) Identifier 6) Datatype 7) Escape sequences 8) Symbolic Constant 9) Delimiter 10) Operator etc. 

Why we use C language???

C language was initially used for system development, work particularly the programs that make-up the operating system. C was adopted as a system development language because it produces code that was nearly as fast as the code written in Assembly Language. Some example of the used of C might be. 1) Operating System 2) Language Compiler  3) Assembler 4)  Text Editor 5) Network Driver 6) Print Spoolers 7) Database etc. 

Fact about C

Important Facts of C Language C was invented to write an operating system. C is successor of B language which was introduced around the early 1970. Today C is the most widely used popular system programming language. Most of the state of the art software has been implemented using C Language. With the help of C language we are developed RDBMS, MySQL etc.

About C Language

C Programming Language C language is a general purpose high level language that was originally developed by Dennis Mac Alistair Ri tchie to develop the UNIX operating system at Bell Lab's. C language was first originally implemented on the DEC PDP-11 computer in 1972. The UNIX operating system, the C compiler and essentially all UNIX application program have been written in C has now become a widely used professional language for various reasons. Easy to learn. Structured language. It produces efficient program. It can handle low level activities. It can be compiled on a variety of computer platform.