what is the main difference between c and c++?
Answer Posted / amitab
++ can be considered as the Develop form of C.Its originated
from c and include the most important concept i.e. "Object
Oriented".
The Most common Difference are as follow :
1.C is Procedural Language and C++ is Procedural+Objected
Oriented.
2.C contains 32 Keywords,C++ extends it to 52 Keywords.
3.Data is not secured in C due to non-object oriented.
4.C followe top down approach while C++ follow Bottomup
approach.
5.We can use function inside structure in C++,but not in C.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the benefits of oop?
What is destructor example?
What is abstraction and encapsulation?
write a program to find 2^n+1 ?
What are oops methods?
What is abstraction in oop with example?
Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.
What does <> mean pseudocode?
What is polymorphism and example?
Is this job good for future? can do this job post grduate student?
What is polymorphism used for?
What is a superclass in oop?
What is class encapsulation?
What are functions in oop?
What is abstraction oop?