what is the main difference between c and c++?
Answer Posted / tamil
C gives importance to procedure. That is functions rather
than data. The main function couldnot return a value. It is
dont support c++ programme.
C++ gives importance to object that is data. The main
function should return a value. It is support c programme.
C is a procedural Language, but C++ is a object oriented
language.
* C employs top down approach, but c++ employes buttom up
approach.
* Here in C, when ever we are writing a program, the data
are not secured from the outside world. but in C++ data are
secured from the outside world.
* C give emphasis in algorithims and functions, but C++
give emphasis on the data and objects.
* In C we are using #include<stdio.h> as header file, but
in C++ we are using #include<iostream.h> as header file.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is encapsulation selenium?
Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.
What is polymorphism in oops with example?
What is byval and byref? What are differences between them?
What is the difference between abstraction and polymorphism?
What is property in oops?
What is meant by multiple inheritance?
Please send ford technologies placement paper 2 my mail id
What is abstract class in oop?
Can private class be inherited?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
What is multilevel inheritance explain with example?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What is inheritance write a program to show use of inheritance?
I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...