why cpp is platform independent code example
Example: is c and c++ platform independent
In C, C++ the compiled code (compiler given code) is machine
language code which is understandable only by the cureent
operating system.
Hence this compiled code can not be executed in another
platform.
Due to this reason these languages are considered as platform
dependent programming languages.