Unit1
Algorithm and
algorithm
development:
🙢
, Introduction to C
🙢
� C programming language was developed in 1972 by
Dennis Ritchie at bell laboratories of AT&T (American
Telephone & Telegraph), located in the U.S.A.
� Dennis Ritchie is known as the founder of the c
language.
� It was developed to overcome the problems of previous
languages such as B, BCPL, etc.
� C is a robust language whose rich set of built-in functions
and operators can be used to write any complex program.
� C is one of the most widely used programming languages
of all time.
, Getting Started With C
🙢
� There is close analogy between learning English language and
learning C language.
� The classical method of learning English is to first learn the
alphabets used in the language, then learn to combine these
alphabets to form words, which in turn are combined to form
sentences and sentences are combined to form paragraphs.
� Learning C is similar and easier.
� Instead of straight-away learning how to write programs, we
must first know what alphabets, numbers and special symbols
are used in C, then how using them constants, variables,
keywords, and reserved words are constructed, and finally how
are these combined to form an instruction.
� A group of instructions would be combined later on to form
functions or program.
, 🙢
Algorithm and
algorithm
development:
🙢
, Introduction to C
🙢
� C programming language was developed in 1972 by
Dennis Ritchie at bell laboratories of AT&T (American
Telephone & Telegraph), located in the U.S.A.
� Dennis Ritchie is known as the founder of the c
language.
� It was developed to overcome the problems of previous
languages such as B, BCPL, etc.
� C is a robust language whose rich set of built-in functions
and operators can be used to write any complex program.
� C is one of the most widely used programming languages
of all time.
, Getting Started With C
🙢
� There is close analogy between learning English language and
learning C language.
� The classical method of learning English is to first learn the
alphabets used in the language, then learn to combine these
alphabets to form words, which in turn are combined to form
sentences and sentences are combined to form paragraphs.
� Learning C is similar and easier.
� Instead of straight-away learning how to write programs, we
must first know what alphabets, numbers and special symbols
are used in C, then how using them constants, variables,
keywords, and reserved words are constructed, and finally how
are these combined to form an instruction.
� A group of instructions would be combined later on to form
functions or program.
, 🙢