+ 6
What is the different C , C++
8 ответов
+ 9
Thanks for Ans guys
+ 7
Please use search feature, this topic had been discussed before 👍
+ 7
Ya but how to code my Arduino
+ 7
or app
+ 5
C++ is one step advanced then c language. Some functions and library files are different in c and c++. For example in C we include header files stdio and conio, in c++ we include iostream, using namespace std.Their a lot difference in c and c++, when you learn them you can understand easily.
+ 4
In c language there in no object oriented concepts, c is the procedure oriented, and c++ is the object oriented, for writung code we use in c printf and scanf for write and read, in c++ we use cout and cin functions as well we use scope resultion operator also. Major difference is c security, there is no security in c, but in c++ access modifiers have that is the main advantage of c++.
+ 3
Dynamic memory allocation is done differently in both c and c++ c we use malloc() and calloc( ) for allocation and free() for deallocations in c++ we use different set of operators like new, delete for memory allocation and deallocation respectively.
+ 1
Melu
The main difference between both these languages is 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 languages. ... On the other hand, C++ supports both procedural and object-oriented programming paradigms.