what is the main difference between c and c++?
Answer Posted / akash
c is a procedure programing language
c ++ is a object oriented language
c++ support various features such as data hiding encapsulation, templates, overloading etc dis features are not there in c.
in c focus is given on function where as in c++ focus are given to data.
maintains of large softwares are not possible in c
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is overloading and its types?
What are the 5 oop principles?
What is encapsulation in simple terms?
What is polymorphism explain?
Why do we use inheritance?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
What is polymorphism explain its types?
What is meant by multiple inheritance?
What do you mean by variable?
What do you mean by overloading?
What is the main purpose of inheritance law?
What is interface in oop?
What is the types of inheritance?
Prepare me a program for the animation of train
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.