what is the difference between c and c++?

Answer Posted / p.pavithra

=>c is procedure oriented language and gives importance to
procedure that is functions rather than data.c is middle
level language.
=>c++ is object oriented language and gives importance to
object that is data
c++ is high level language



=>c does not a class/object concept
=>c++ provides data encapsulation,data
abstraction,polymorphism.


=>c passing value to a function is "call by value"
=>where c++ its "call by reference"


=>C++ is the hight level language.
=>C is low level language.

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a program to concatenation the string using switch case?

1551


WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE..

1588


Write a program to check prime number in c programming?

592


How does selection sort work in c?

617


Difference between goto, long jmp() and setjmp()?

700






how should functions be apportioned among source files?

623


Can you apply link and association interchangeably?

667


How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?

583


Can static variables be declared in a header file?

612


Is it better to bitshift a value than to multiply by 2?

654


swap 2 numbers without using third variable?

656


Can a pointer point to null?

582


Simplify the program segment if X = B then C ← true else C ← false

2578


Which programming language is best for getting job 2020?

605


Differentiate call by value and call by reference?

562