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

Answer Posted / bijayalaxmi behera.

In the strictly mathematical sense,c++ is not strictly super
set of c.Because,there are some programs that are valid c
but not valid c++.One more thing,few ways of writing the
code that has a different meaning in c and c++.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to declare a function pointer?

579


What kind of jobs can I get with c++?

600


Explain function overloading and operator overloading.

626


What is c++ map?

571


What is the difference between #define debug 0 and #undef debug?

643






What are the various storage classes in C++?

652


why is c++ called oops? Explain

583


What is the difference between structure and class?

562


How long will it take to learn programming?

593


When is dynamic checking necessary?

604


Does there exist any way to make the command line arguments available to other functions without passing them as arguments to the function?

749


How do you flush std cout?

575


Write a function that swaps the values of two integers, using int* as the argument type?

609


Is it possible to write a c++ template to check for a function's existence?

580


What are the sizes and ranges of the basic c++ data types?

589