What normal C constructs work differently in C++?

Answer Posted / achal ubbott

I just add 2 more points. C++ is a different language. Its
syntax matches to C accidentally.

1. C++ follows a name mangling algorithm for names of
functions. C does not.

2. C++ structures may have functions defined in them. Not
in C.

3. C++ follows more strict type checking.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is oops?what is its use in software engineering?

555


is there any choice in opting subjects like 4 out of 7

1727


What does oop mean in snapchat?

680


just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.

6483


What are the types of abstraction?

553






What do you mean by abstraction?

609


What is pure oop?

597


What is a class in oop?

599


What are the 3 principles of oop?

616


Why polymorphism is used in oops?

581


Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4236


Is abstract thinking intelligence?

592


There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.

1454


Why do we use oops?

591


Why is it so that we can have virtual constructors but we cannot have virtual destructors?

3825