what is the main difference between c and c++?
Answer Posted / vivek sagar jaiswal
*c is the procedure oriented programing.
c++ is the object oriented programing.
*c is the low level language.
c++ is the high level language.
*c is top-down approach
c++ is bottom-top approach.
*c is structured design
c++ is object oriented design .
*c does not deal with real world problems properly
eg. Maintaining a database.
while c++ deals with real world problems.
*In c we declare variable at the start of block...
In c++ we can declare it any where.....
*c the data can pass through the fuction to fuction.
Data is hidden and can’t be accessed by the external function.
*We can’t work with Class in C .
We can work with Class in C++ .
*c is not required acces
specifiers .
C++ is required acces
Specifiers .
*c has not inheritance concept .
c++ has inheritance concept .
*C can't support
of all function of C++.
C++ can support of all function of C
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
2. Give the different notations for the class.\
Can we create object of interface?
Why do while loop is used?
How Do you Code Composition and Aggregation in C++ ?
How oops is better than procedural?
How long to learn object oriented programming?
what is difference between class template and template class?
What is polymorphism programming?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
Why is encapsulation used?
What is oops and its features?
What is the advantage of oop over procedural language?
What is polymorphism explain?
Why is oop useful?
What is an example of genetic polymorphism?