what is the main difference between c and c++?
Answer Posted / vivek kumar
firstly c++ takes procedural aaproah from c language
for solving prob
and oops concept from other languages like ada,simula
so it is derived from c
c basically is functional programing
in this most of data is placed globally
c++ have bottom up approach and it support data hiding
so data is secured. from unauthorized access.
| Is This Answer Correct ? | 5 Yes | 16 No |
Post New Answer View All Answers
Can private class be inherited?
Why do we use oops?
Plese get me a perfect C++ program for railway/airway reservation with all details.
What does and I oop mean in text?
what's the basic's in dot net
What is the difference between a constructor and a destructor?
What are the 4 pillars of oop?
Get me a number puzzle game-program
What is inheritance in oop?
How does polymorphism work?
Why is encapsulation used?
what is the drawback of classical methods in oops?
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.
Why do we use polymorphism?
How is polymorphism achieved?