What is C?
C is a most popular computer programming language. It has been developed by Dennis Ritchie at US Defence Bell laboratories in 1972. It is the first high level, general purpose programming language. Before C there was other low level programming languages such as Machine language(Binary), COBOL, FORTRAN, etc. These languages are low level language and they were using some symbols for programming. Coding is low language is difficult that’s why it was difficult to develop any general purpose applications. Later on in this blog post, We will learn about what is programming language? What is high level or low level languages? But first let’s discuss about C.
Why learning C language is important?
Despite being old C language is first popular programming language in the technology world. If you know C then there will not be difficulty in learning other programming langauges such as C++, Java, Python, etc as their fundamental theoretical concepts are almost same. Only the implementation part has differences.
Learning C gives you confidence to learn more languages and develop new products in software. Learning other languages after c is easy walk.
C language is very fast as compare to other languages. Because it is closely associated to Operating systems, driver programs and kernels.
C language is versatile as it is used to develop both type of software- application software and system software.
Installation of C
There are many free coding editors are available for practicing C language. For beginners it’s better to practice on TURBO C++ or BORLAND . you can simply download in your local machine, install it and start writing codes.
Steps to write C programs on Turbo C++ After Installation
step1- Click on Turbo C++ Icon
step2 – Click on File
step3- Click on new
Now, new blank page is open . Now you can start writing Codes.
After writing the code you have to compile and then Run the program to see results.
To compile – Use shortcut keys(Alt+ F9)
After compilation To Run program – Use shortcut keys (Ctrl + F9)
What does the Compiler do?
- Compiler converts source code(c program) into binary language
- Then it checks if any syntax error has occured.
After ALt +F9 if you got 0 warnings and 0 errors on your desktop screen it means your program is ready to run.
What is Syntax?
Syntax is rules or guidelines to write any computer programs. Every programming languages have their own syntax to write code.
What is Program?
A program is set of instructions to complete any tasks. Each program has designed to perform a specific tasks.
What is Computer programming languages?
Computer programming languages are means to convert a set of instructions into computer understandable formats. There are various Computer programming languages such as COBOL, FORTRAN, C, C++, Java, Python, SCALA, GO, etc.
Computer Programming Languages can be divided into two categories:
- Low Level
- High Level
Low level languages: Computer understands only Binary Language(0,1). Low level programming languages directly use 0 and 1 for coding or they are closely associated with binary symbols. Some examples of low level languages are Binary language(Also called machine Language), COBOL, FORTRAN.
High Level Languages: High level languages writes codes using english language words. They are written in such a form that sometimes a person without coding knowledge can understand the purpose of code. These high languages have certain predefined keywords. They use these keywords for writing source codes. Some popular keywords are if, else, for, while, break, continue, etc. There meanings are clearly understandable by anyone who has knowledge of english language. Some high level languages are Java, PYTHON, SCALA, C, C++, etc.
I hope you must have enjoyed this blogpost. Read other blogs shared here and also share with your friends and families.