what is the main difference between c and c++?
Answer Posted / vinod
C++ support the exception handling while c does not support exception handling feature. c++ is a superset of c i.e. c++ can run most of c code while c can not run c++ code.
Data hiding future are not present in the c language while data hiding future are present in the c++ language this is oop future.
we can call the (Function) method throw the object in the c++, while in c object are not used.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How is class defined?
Can bst contain duplicates?
What is polymorphism programming?
What is the real life example of polymorphism?
Can we create object of abstract class?
What are different oops concepts?
Why do we use oops?
what is the sylabus for priliminaries?
What is static in oop?
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 is difference between data abstraction and encapsulation?
Is abstract thinking intelligence?
write a program to find 2^n+1 ?
What is oops with example?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box