First of all, thank you for showing interest. In this series, I will discuss topics from basic to advanced in C programming.
What is C?
C is a general-purpose programming language. It was created by Dennis Ritchie in 1972 at Bell Laboratories. It was developed for building the UNIX operating system, which later became very popular.
Why should we learn C?
- It is one of the most popular programming languages.
- If you know C, learning other languages will be easier.
- C is extremely fast compared to other programming languages.
- It is used in a variety of applications and technologies.
- Companies like Google, Facebook, Microsoft, VMware, Redhat, Apple, Intel, IBM, Oracle, Nokia, Huawei, Samsung, and many others use C for their work.
- C is an excellent choice for embedded programming and operating systems, like the UNIX operating system, which was built with C.
- If you are interested in robotics, C programming will be very helpful for you.
Differences between C and C++
Let’s compare them in a few areas to better understand the differences: features, applications, disadvantages.
Features of C
- Simple
- Procedural
- Structured or Modular Programming Language
- Mid-level programming language
- Fast
- Modularity
- Rich Library
- Supports Dynamic Memory Allocation
- Middle-Level Language
- Portable or Machine Independent
- Extensible
- Recursion
Features of C++
- Object-Oriented
- General-Purpose Programming Language, supports features such as Polymorphism, Inheritance, and Encapsulation
- Extensible
- Recursion
- Portable or Machine Independent (but Platform Dependent)
- Rich Library
- Fast Execution Speed
- Compiled Language