is c and c++ platform independent
snippet in c

is c and c++ platform independent

user4321

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.