1
0 Comments

C Programming Language Basics Introduction

In this course, we will study the C Programming Language Basics Introduction and its advantage and disadvantage. So let us start.

https://usemynotes.com/c-programming-language-basic-introduction/

C Programming Language Basics Introduction
C is a procedural oriented programming language (POP). This language was developed by Dennis Ritchie in 1972 at the bell laboratory. There was a B language before the C language was invented. The B language was developed by Ken Thompson in1970 at bell laboratories. There were many limitations in the B language. And to remove all the limitations Dennis Ritchie developed C.

C language is a very popular language. C language is believed to be the origin of other programming languages. In order to learn a different programming language, we must have knowledge of the C language first. C is a very simple language. There are many languages like C++, C#, Java, PHP, etc which have adopted the syntax of the C language.

Learn More C Programming Language Basic Introduction

The C language was standardized in 1989 by the American National Standards Institute (ANSI) and after that by the International Standards Organization (ISO).

The latest version of the C language is C11.

What are the advantages and disadvantages of c programming?

Advantages of C Programming

Powerful and efficient language
C is a type of robust language and it contains various data types. To perform various operations it has many operators that provide a vast platform.

Portable language
C is a very flexible language. It is a machine-independent language that helps us to write code in any machine and it can be shared between different machines without any change in the code.

Built-in functions
There are 32 keywords in C. The functions in the C program can be made easier with the help of the keywords.

Quality to extend itself
The c programming language has the ability to extend itself. As we all know that the C library is a set of functions that can be easily used and the functions in the C Standard Library can be added which will help in making the code simpler.

Middle-level language
C is a type of middle-level programming language that means it can support both the high-level programming language and low-level programming language. In this, we support low-level programming kernels and drivers. It supports high-level programming system software applications.

System programming
C follows the system-based programming system that means the programming is done for the hardware devices.

Disadvantages of C Programming
Concept of OOPs
C is a vast language but it supports OOPs (Inheritance, Polymorphism, Encapsulation, Abstraction, Data Hiding). C follows a simply procedural programming approach.

Run-time checking
In the C programming language, we can not find bugs and errors after every line of code. The compiler shows the errors and bugs after the completion of the code. Due to this, the checking of errors in a large code becomes difficult.

Concept of namespace
In C the concept of namespaces is not implemented.

Lack of exception handling
Exception Handling is the most important feature of programming languages. Exception Handling helps us in the detection of the error and to give a correct response to it.

Constructor or Destructor
C does not use a constructor or destructor. Constructors & Destructors only supports Object-Oriented Programming.

Low level of abstraction
C is a small and core machine language in which there are minimum data hiding and exclusive visibility which affects the security of the language.

What are the c programming basics to write a program?
Here are a few commands and syntax used in c programming to write a simple c program. So let us start.

on February 7, 2021