answersLogoWhite

0

No. A C++ program is not even remotely similar to a C program. While it is true that with little to no modification any valid C program can become a valid C++ program, the resultant code would still be C or at least the C-style equivalent that is supported by C++. However, the same cannot be said in the other direction. Converting C++ code to C can obviously be done (code in any language can be converted to any other language), but it is far from trivial. Indeed, the only way it could be achieved effectively and efficiently is with a C++ to C compiler, in much the same way as the original C++ compiler worked. However it's difficult to imagine any scenario where this would be a requirement.

User Avatar

Wiki User

8y ago

What else can I help you with?

Related Questions

What is another source coding except Hoffman coding and Shannon coding and LZW coding?

There are many. See: http://en.wikipedia.org/wiki/Lossless_data_compression#Lossless_compression_methods


What r your J codes in MEDICAL coding?

J Codes are for the administration of drugs except for those taken orally.


How are map similar to timeline?

They aren't similar except that maps change over time.


What is the role of the DNA coding strand?

The DNA coding strand serves as a template for the synthesis of mRNA during transcription. It carries the same sequence as the mRNA, except it has thymine (T) instead of uracil (U). The mRNA produced is complementary to the DNA coding strand.


How are apple pies and atoms similar?

They are not similar except for the fact that apple pies are made of atoms.


How was PlayStation Network attack?

They are not releasing details except the date and what they learned was viewed


What does a frog look similar to?

a toad except with smoother skin


Do eBay desclose your details?

No, except for your eMail address and your mailing address when you purchase something.


What is similar to ROM except that it can be written to more that once?

Flash Memory


What Is similar to a variable except it can be assigned a value only once?

A constant.


When can you use either except or except for?

In the English language, you will use either when referring to to things that you are discussing or deciding between. Except is used when saying everything but one thing, and except for is used in a similar way.


What are some similar thing between tax and discount?

There are no similar things between the two except that they both involve money.