what is the main difference between c and c++?

Answer Posted / sandeep mallah

1.c namespace feature is a absent ,c++ namesapce feature is present.
2. c does not allows reference varibles ,c++ allows reference varibles . reference varible allow 2 varible name to point to the same memory.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is object oriented programming so hard?

616


Describe these concepts: Polymorphism, Inheritance and Abstraction.

616


Give two or more real cenario of virtual function and vertual object

1855


How do you use inheritance in unity?

593


Is this job good for future? can do this job post grduate student?

1694






How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction

1654


Can bst contain duplicates?

670


What are functions in oop?

586


Is react oop?

611


What is debug class?what is trace class? What differences are between them? With examples.

1612


What is encapsulation with example?

581


What do you mean by abstraction?

619


what type of question are asked in thoughtworks pair programming round ?

1766


Why do we need oop?

671


Can we create object of abstract class?

577