Y c is not a platform independent?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
17th May 2019, 11:34 AM
sonali rai
2 Answers
+ 3
I'd say that C source code is mostly platform independent. However it needs to be recompiled for each platform/OS/architecture, so compiled C code isn't really portable.
17th May 2019, 12:14 PM
Anna
Anna - avatar
0
As Anna said, it needs to be recompiled for each platform. It is due to the fact that it doesn't come with a special environment to run programs (like Java for example and the JVM -> Java virtual machine)
17th May 2019, 5:04 PM
ThewyShift
ThewyShift - avatar