Introduction To C programming language:
C is one of the BEST programming language , Which is used so far in the HISTORY of programming Language . Although C++ and JAVA is taken place over the C , But Still C is Basic programming language . This language Which you should learn before learning other programming language .
In this Article we are going to cover following points about c programming language:
- Introduction to Computers.
- what is programming ( basically c programming ) ?
- Similarities between c programming and English language.
- Brief Introduction to C programming language.
- What is C?
- Why C seems so popular?
- Important points/Notes about c programming language.
- Advantages of c programming.
An Introduction to Computers
One way of describing a computer is as an electric box used to perform various task based on given commands. Technically correct, can lead to significant amounts of confusion, particularly Among those who then try to program a fridge.
What is Programming:
Programming is a black art. It is the kind of thing that you are doing at night, with the blinds drawn and nobody watching.
“Programming is defined by me as deriving and expressing a solution to a given problem in a form which a computer system can understand and execute.”
There are many programming language why should you learn c programming language first.
Similarities between c programming language and English language.
Communicating with a computer involves speaking the language the computer understands, which immediately rules out English as the language of communication with computer. However, there is a close analogy between learning English language and learning c programming 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 programming language 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 programming language , and then how using those constants, variables and keywords are constructed.
And finally how are these combined to form an instruction. A group of instructions would be combined later on to form a program. This is illustrated in the following figure.
Brief Introduction to C programming language.
What is C?
We are going to learn a language called C .C is a programming language developed at AT & T’s Bell Laboratories of USA in 1972. It was designed and written by a man named Dennis Ritchie. C is a very flexible and powerful.
It is famous as the language the UNIX operating system was written in, and was specially designed for this. However its use has now spread way beyond that field and it is currently very popular. In the late seventies C began to replace the more familiar languages of that time like PL/I, ALGOL, etc.
Why c programming language seems so popular
C programming language is reliable, simple and easy to use. Moreover, in an industry where newer languages, tools and technologies emerge and vanish day in and day out, a language that has survived for more than 3 decades has to be really good.
“The only way to learn a new programming language is by writing programs in it.”
C provides the fundamental control-flow constructions required for well-structured programs:
- statement grouping,decision making (if-else),
- selecting one of a set of possible values (switch),
- looping with the termination test at the top (while, for)
- or at the bottom (do),
- Early loop exit (break).
C itself provides no input/output facilities:
Important points/Notes about c programming language:
NOTE 1: “c programming language has been already superseded by languages like C++, C# and Java,”
NOTE 2: In 1983, the American National Standards Institute (ANSI) established a committee whose goal was to produce ‘‘an unambiguous and machine-independent definition of the language C’’, while still retaining its spirit. The result is the ANSI standard for C. The C Programming Language describes C as defined by the ANSI standard.
Modern compilers already support most features of the standard’s was originally designed for and implemented on the UNIX operating system on the DEC PDP-11, by Dennis Ritchie C is not tied to any particular hardware or system, however, and it is easy to write programs that will run without change on any machine that supports C.
NOTE 3: Many of the important ideas of C stem from the language BCPL, developed by Martin Richards. The influence of BCPL on, C proceeded indirectly through the language B, which was written by Ken Thompson in 1970 for the first UNIX system on the DEC PDP-7.
Advantages Of C Language
- C is that you can write code which runs quickly
- Your program is very “close to the hardware”.
- you can access low level facilities in your computer quite easily Using c language.
- single version of a program which can be compiled on several different types of computer.
- Hense we said C language is Very portable.
- The function libraries are standard for all versions of C so they can be used on all systems
SEE THE INFOGRAPHIC TO UNDERSTAND ADVANTAGES OF C LANGUAGE.
RELATED TERMS ABOUT C programming language
c programming language pdf ,
c programming language free download ,
c programming language examples ,
c programming language software ,
c programming language tutorial ,
c programming language download ,
history of c programming language ,
learn c programming language