Search This Blog

Thursday, April 2, 2020

C Introduction || C TUTORIALS FOR BEGGINERS

  History of C language

The C programming language was developed at AT & T's Bell Laboratories of USA in 1972. It was designed and written by a man named Dennis Ritchie. In the late seventies C began to replace the more familier languages of that time like PL/I, ALGOL etc.

Rules for writing C program:

  1. Blank spaces can be inserted between two words. However, blank spaces are not allowed between a single word.
  2. Usually all C statements are entered in small case letters.
  3. The different part of C statements can be split over multiple lines.
  4. Any C statement always ends with a semicolon ( ; ).
The C Character Set
             
          A character denotes any alphabet, digit or special symbol used to represent information. Following  shows the valid alphabets, numbers and special symbols allowed in C:

  1. Alphabets : A,B,C,D,...........,Y,Z   a,b,c,..........,y,z
  2. Digits: 0 1 2 3 4 5 6 7 8 9
  3. Special symbols: &©, @  +, = , ?, ', ", *, (, ) / etc,
Data Types:
 Data is possibly one word which has been used with gay abandon by programmers. It is almost impossible for a programmer to talk for two minutes about computing without saying data in one context or the other. There are data types, data objects, data flow , data bases.

No comments:

Post a Comment