Thursday, July 30, 2009

Can a borland 's C compiler compile a c++ program?

Yes it can compile

Can a borland 's C compiler compile a c++ program?
What happen to the compiler on which you wrote c++?. You can congratulate yourself for doing this but don't say this in an interview. The employer will be worried about his projects and contracts.
Reply:Sure, a C compiler can compile a C++ program as well.
Reply:.





Certainly NOT





C++ is a upgraded version of C language with some additional features and partly OOPS concept.





How could you expect a lower version software to support its higher version?





The higher version softwares could support any of the lower version, but vice versa is not applicable.





For eg. create a document in MSOffice 2000 and try to open it in the old MSOffice. It may open but could not support all the actual properties. But the vice versa is possible, i.e., the higher version can open the lower version file with all the properties being supported.





**********


Vasu M


*********

sweet pea

No comments:

Post a Comment