what is the main difference between c and c++?
Answer Posted / nitish
1. c is a procedure oriented language. whereas c++ is an
object oriented language.
2. c is an predecessor to c++.
3. c uses functions for input/output as,
scan f/print f.
where as,
c++ uses functions as,
cin>>/cout<<.
4. c acted as a middle level language in the system
functioning. as, a link between
machine language and higher level language.
5. C don't support but c++ support polymorphism and
inheritance in its functioning..
and so on,
but one similarity between both of the 2 is that,
Both are case sensitive languages.
"A" means different from "a".
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
What type of loop is a for loop?
any one please tell me the purpose of operator overloading
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...
What is encapsulation in oop?
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?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
Can bst contain duplicates?
Plese get me a perfect C++ program for railway/airway reservation with all details.
What is interface in oop?
What are the 3 principles of oop?
What is the important feature of inheritance?
What is and I oop mean?
Who invented oop?
What is oops in simple words?
write a program to find 2 power of a 5digit number with out using big int and exponent ?