what is the main difference between c and c++?
Answer Posted / rajendra kumar jena
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 ? | 480 Yes | 71 No |
Post New Answer View All Answers
What is class and object with example?
What does and I oop mean in text?
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
Write a program to reverse a string using recursive function?
Why is there no multiple inheritance?
Why interface is used?
What are constructors in oop?
What is inheritance and how many types of inheritance?
What is overriding in oop?
how to get the oracle certification? send me the answer
How to use CMutex, CSemaphore in VC++ MFC
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
write a program that takes input in digits and display the result in words from 1 to 1000
What is class in oop with example?
explain sub-type and sub class? atleast u have differ it into 4 points?