Hey guys today we are going to talk about c programming language Why c programming?  C is one of the oldest programming languag...

Why C programming language ?

/
0 Comments
Hey guys today we are going to talk about c programming language


Why c programming?


  •  C is one of the oldest programming languages.C is called middle-level language because it actually binds the gap between a machine level language and high-level language.When starting with c programming then you learn from basic and c is helpful for learning of high-level languages like java, python etc. C is 80% of all programming language if you know c then you have to learn 20 % of the high-level language. And this 20% contains most of syntax nothing else. 

  • So I will recommend you if you are the beginner in programming start with c it is wonderful programming language to improve your programming concept, I am recommending because I was also started with c. i spend around 1 month to learn c after c i started java and I spend 15 days to learn python.So start with c then c++ then which you want.
What is  C  programminglanguage?
  •  C is a general-purpose, structured programming language. Its instructions consist of terms that resemble algebraic expressions, augmented by certain English keywords such as if, else, for, do and while. In this respect C resembles other high-level structured programming languages such as Pascal and Fortran. C also contains certain additional features, however, that allow it to be used at a lower level, thus bridging the gap between machine language and the more conventional high-level languages. This flexibility allows C to be used for systems programming (e.g., for writing operating systems) as well as for applications programming (e.g., for writing a program to solve a complicated system of mathematical equations, or for writing a program to bill customers)
  • C is characterized by the ability to write very concise source programs, due in part to the large number of operators included within the language. It has a relatively small instruction set, though actual implementations include extensive library functions which enhance the basic instructions. Furthermore, the language encourages users to write additional library functions of their own. Thus the features and capabilities of the language can easily be extended by the user.
  • Another important characteristic of C is that its programs are highly portable, even more so than with other high-level languages. The reason for this is that C relegates most computer-dependent features to its library functions. Thus, every version of C is accompanied by its own set of library functions, which are written for the particular characteristics of the host computer. These library fbnctions are relatively standardized, however, and each individual library function is generally accessed in the same manner from one version of C to another. Therefore, most C programs can be processed on many different computers with little or no alteration.
C History: 
  • C was originally developed in the 1970s by Dennis Ritchie at Bell Telephone Laboratories, Inc. (now a part of AT&T). It is an outgrowth of two earlier languages, called BCPL and B, which were also developed at Bell Laboratories. C was largely confined to use within Bell Laboratories until 1978, when Brian Kernighan and Ritchie published a definitive description of the language.* The Kernighan and Ritchie description is commonly referred to as “K&R C.” 
  • Early commercial implementations of C differed somewhat from Kernighan and Ritchie’s original definition, resulting in minor incompatibilities between different implementations of the language. These differences diminished the portability that the language attempted to provide. Consequently, the American National Standards Institute** (ANSI committee X3J11) has developed a standardized definition of the C language. Virtually all commercial C compilers and interpreters now adhere to the ANSI standard. Many also provide additional features of their own. 
  • In the early 1980s, another high-level programming language, called C++,was developed by Bjarne Stroustrup*** at the Bell Laboratories. C++ is built upon C, and hence all standard C features are available within C++.However, C++ is not merely an extension of C. Rather, it incorporates several new fundamental concepts that form a basis for object-oriented programming--a new programming paradigm that is of interest to professional programmers. We will not describe C++ in this book, except to mention that a knowledge of C is an excellent starting point for learning C++. 

In C if you want to display "Hello world" then code will be
printf("Hello world");

And If you want to print this in python then code will be
print "Hello world"

This is the difference  





You may also like

No comments:

Cybercry 2018. Powered by Blogger.

Popular Posts