why c++ is not called strictly d super set of c?

Answer Posted / subhashree das

there are some operators in c++; which can be used as
identifiers in c. so if we execute the program in .c it will
not show any error, where as if we execute the same program
in .cpp , it will show error.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe the setting up of my member functions to avoid overriding by the derived class?

605


Draw a flow chart and write a program for the difference between the sum of elements with odd and even numbers. Two dimensional array.

5897


What are manipulators in c++ with example?

582


What is the most common mistake on c++ and oo projects?

518


What is malloc in c++?

555






Write about the role of c++ in the tradeoff of safety vs. Usability?

594


How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?

642


What is the difference between passing by reference and passing a reference?

557


Do class method definitions?

586


What are member functions used in c++?

557


What is == in programming?

613


What do you mean by translation unit?

599


give me an example for testing a program showing the test path .show how the test is important and complex.

2420


Does c++ have string data type?

689


Is c++ still in demand?

632