Wednesday, December 26, 2018

INTRODUCTION TO ,'C'

INTRODUCTION  TO ,'C'

INTRODUCTION  To 'c'

 Programming Languages is a set of instructions and keywords which helps a user to communicate with the computer. In my blog, you will study programming language 'c'.The 'c' programming language was developed by Dennis Ritchie in bell laboratories, in the early 1970s. Ken Thompson and his team supported him in developing this language. In the last seventies, 'c' began to replace the more familiar languages of that time like PL/I, ALGOL, etc. IN less than a decade of its introduction, 'c' has become a language of choice for software professionals because it is reliable, simple and easy to use. The Unix operating system is written in 'c' language. One of the most interesting about the 'c' language is that its compiler is written in 'c'. 'c' language is considered as a middle-level language since it was designed to have both: a relatively good programming efficiency and a relatively good machine efficiency .it is a bride between low level and high-level language.

* 'c' language possesses features of both low level and high-level languages.
* It provides the facility to do programming with easy approaches.
* It provides the facility to do programming at register level which leads to fast processing.
* It consists of simple English like commands, which are easy to understand.
* The programs are written in 'c' language are 100percent efficient and are also machine independent and portable.
* A 'c' program is easier to write and does not very much from computer to computer.

CHARACTER SET IN 'C'

 The set of characters that may appear in a legal 'c' program is called the character set for 'c'.These include some graphic as well ass non-graphic characters. the 'c' character set consists of an upper case and lower case alphabets, special characters, digits and white spaces. The alphabets and digit together are called the alphanumeric characters.

* ALPHABETS


 A, B, C.......................Y, Z.
 a, b,  c.........................y, z.
'c' is a case-sensitive language, it means lower and upper case are different.

* DIGITS


 0,1,2,3,4,5,6,7,8,9.

* SPECIAL CHARACTERS


 coma  (,)
 Period   (.)
 Semicolon   (;)
 Colon   (:)
 Number sign(Hash)  (#)
 Apostrophe  ( ' )
 Quatation mark  (")
 Exclamation mark  ( !) 
 Vertical bar  ( | )
 Tilde   (~)
 Opening angle bracket  (< )
 Closing angle  bracket  ( >)
 Under source ( _ )
 Dollar sign  ( $ )
 Percent sign  (%)
 Question mark ( ?)
 Ampersand  ( & )
 Caret  ( ^ )
 Asterisk  ( *)
 Minus sign ( - )
 Plus sign  ( + ) 
 slash  ( / )
 Back slash ( \  )
 Left parenthesis   ( 
 Right parenthesis  )
 Left bracket    [
 Right bracker  ]
 Left brace  {
 RIght brace }


BEFORE LEARNING  C PROGRAMMING, WE NEED TO KNOW THIS BASIC INFORMATION.





0 comments: