Hello dear readers , Today is our first tutorial of ‘C’ language for beginners.I hope you will be happy to learn from it and share this also with your friends.My all the concepts of C are and very precise and on the Topic If you are Learning C from a scratch then it will be a right place for you.Before starting C language we will learn about the history of C language in computer science.You need to read the below topic thoroughly to understand what is C.
History of ‘C’ Language
‘C’ is a programming language developed at “At&T Bell lab” of U.S.A in “1972” is was designed and written by “DENNIS RITCHIE” . ‘C’ seems to be so popular as it is reliable,simple and easy to use.
Development of ‘C’
1960 Algol Developed by international group
1967 BCPL Developed by Martin Richard
1970 B Developed by Ken Thompson
1972 traditional C Developed by Denis Ritchie
Reasons for using ‘C’ language over other Languages/Importance of C
- Nobody can Directly learn writing code Higher level language such as C++,C#(C Sharpe),JAVA etc.These languages make use of object oriented languages programming (OPP’s)to organise programs.
- Programs written in C language are efficient and fast .C is highly portable this means that C programs written for one computer can be run on another computer with little or no modifications.
- In ‘C’ many standard functions are available which can be used for developing programs.
Basic Structure of ‘C’ language
- ‘C’ Programs is collections of one or more functions .Every function is a collection of statements and perform some specific task.
The general structure of ‘C’ programs is:-
- Comments
- Preprocessor Directives
- Global Variables
- Main() Funtions
=> Firstly we will discuss about comments:-
Comments can be placed any where in program and are inclosed between the (/* */)comments are generally used for documentation purpose .we cannot nested comments.
=>Preprocessor Directive