what is the main difference between c and c++?
Answer Posted / mohit bhushan aggarwal
1: In C++, we use <iostream.h> while in C, we use <stdio.h>.
2: C++ is an object oriented programming language and C is
a procedure programming language.
3: in C++, we do not use Algo while in C we use algo to
make a program.
4: C++ overcomes the C language.
5: C language is the superset of BCPL and C++ is the
superset of C language..
Thanks.
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
How is class defined?
How is polymorphism achieved?
What is the difference between a constructor and a destructor?
How do you use inheritance in unity?
Why do we use encapsulation 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.
What does and I oop mean?
What is static in oop?
What are objects in oop?
what type of question are asked in thoughtworks pair programming round ?
What is object in oop with example?
What is a class and object?
Explain the advantages of inheritance.
Why do we use oops?
What are the data types in oop?