0% found this document useful (0 votes)
3 views4 pages

Why Learn C and Difference Between C and C++

Uploaded by

imamhafsa47
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views4 pages

Why Learn C and Difference Between C and C++

Uploaded by

imamhafsa47
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Chapter#3

An overview of C Language

Present by: Sir Muhammad Sajid


Introduction to C
C is a programming language developed by AT & T’s Bell
Laboratories of USA in 1972. It was designed and written by a
man named Dennis Ritchie. C is reliable, simple and easy to
use. C has survived for more than 3 decades. C language is a
base to learn different programming language.

If you want to learn C++ or JAVA, without the knowledge of C


it becomes very difficult to learn these programming
languages. Many major components of popular operating
systems like Windows, UNIX, LINUX is still written in C.
Why Learn C?
✔ Compact, fast, and powerful

✔ “Mid-level” Language

✔ Standard for program development (wide acceptance)

✔ It is everywhere! (portable)

✔ Supports modular programming style

✔ Useful for all applications

✔ C is the native language of UNIX

✔ Easy to interface with system devices/assembly routines

✔ •C is terse
Difference between C and C++ Language?
The major difference between C and C++ is that C is a procedural programming
language and does not support classes and objects, while C++ is a combination of
both procedural and object oriented programming language; therefore C++ can be
called a hybrid language.

C is a structural or procedural programming language that was used for system


applications and low-level programming applications. Whereas C++ is an object-
oriented programming language having some additional features like Encapsulation,
Data Hiding, Data Abstraction, Inheritance, Polymorphism, etc.

You might also like