Question: Why isn't C/C++ called platform independent like java when the same source code written in C/C++ can be made to run on different operating systems by different compilers, just like JVM is used in java.

Isn't different compilers and JVM doing same thing and achieving platform independence.

Answer: 
> 
> Isn't different compilers and JVM doing same thing and achieving platform independence.
> 
> 
> 

The JVM per se is the platform. It is abstracting away, whether it is ARM/AMD64/...

C/C++ is getting compiled. It may only run on the processor(family) that it was compiled for.
You can't just take a binary for MIPS and execute it on ARM.

Compare it:

```
[C(++)]
  |
  v
[Processor]

```

vs

```
[Java (Classfiles)]
     |
     v
   [JVM] #Abstraction layer
     |
     v
[Processor]

```
C++ language itself doesn't assume any specific platform, so in that sense it is platform independent.