What is the difference between C and C ++. | C और C ++ में क्या अंतर है।

C++ Programming Tutorial

What is the difference between C and C ++.

Today we will tell you "What is C and C ++ and what is the difference between them?". With which we hope that you will get answers to your questions.

what is c

C language is a general-purpose programming language known in 1972.

Bell Labs by Dennis Ritchie. Was developed in C Programming Language was created to develop the UNIX operating system.

C programming language was developed to create a system application that directly hardware devices such as kernels, drivers etc. Could easily interact with

C is the basic programming language that can be used for operating programs (such as Windows) to Oracle databases, Git, Python interpreters, and many more complex programs. C programming language can be called the programming language of God as it forms the basis for other programming languages. If we know C language, then we can easily learn other programming languages. The C language was developed by Dennis Ritchie, the great computer scientist at Bell Laboratories. It has some additional features that make it unique from other programming languages.

what is c++

C ++ is a special-purpose programming language developed by Bjarne Stroustrup in 1980 by Bell Labs Circa. The C ++ language is very similar to the C language and is so compatible with C that it can run 99% of C programs without changing any source of the code. C ++ is an object-oriented programming language, so it is a safer and more well-structured programming language than C.

C ++ is a general-purpose programming language. Games, music players, video games, art applications, etc. are made using the C ++ programming language. C ++ is derived from C itself and is largely based on it. C ++ not only remains the programming language of choice for many applications, as new languages ?still do not meet the requirements of many applications, C ++ is regulated by the ANSI standard and developed as a language It happens.

What is the difference between C and C ++

C C++

Procedure Oriented Programming Language.

Object-oriented Programming language.

Much attention is focused on the procedure.

More attention is paid to data here than to the procedure.

Here, the program is divided into small groups, which are named as functions.

Here the program is divided into objects.

The function can be shared through global data.

The function can only share the data of the same class.

Data is not safe here, it can be moved here and there through the function.

The data here are absolutely secure, and it cannot be accessed anywhere through the function.

In this, the TOP - Bottom Approach is followed.

Here Bottom-Up Approach is followed.

The C function does not support overloading.

The C ++ function supports overloading.

In C, you cannot use functions in a structure.

In C ++, you can use functions in a structure.

C does not support the reference variance.

C ++ supports reference variables.

In C, scanf () and printf () to perform input and output operations.

C ++ mainly uses Stream Cin and Cout to perform input and output operations.

Operator overloading is not possible in C.

Operator overloading is possible in C++.