what is the main difference between c and c++?
Answer Posted / parthipan
1.C is structured language.
2.C is top to bottom apporach.
3.C does not support data hiding ,so there is no security
for data
4.c++ is object oriended programming language
5.c++ is bottom to top apporach
6.we can divided the big program into small logical unit.so
we can create seperate object for each module.
7.In c++ the access specifier private,public,protected are
used to handle the data for more security.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is polymorphism and why is it important?
What are the 4 main oop principles?
What is pointer in oop?
What is polymorphism explain its types?
what is graphics
What is difference between pop and oop?
Whats is abstraction in oops?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
How oops is better than procedural?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
Write a program to reverse a string using recursive function?
What is destructor give example?
What is pure oop?
why reinterpret cast is considered dangerous?
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.