C language is portable. What the hell does that mean?
"I am the captain" is well informed, yes! ! Compared with assembly language, C language is "portable". Early computers did not have a unified operating system, so programmers had to program the hardware directly. Different computers have different assembly instruction sets. If a program written for one computer is to be transplanted to another computer, it must be modified a lot according to the instruction set of a specific computer. C language can compile the source program into different binary programs suitable for different computers without modifying the source program of C language, which improves the portability for programmers. Now that there is a systematic operating system, this degree of portability has no advantage. In the current environment, the highly portable language is JAVA, and the slogan is "Programming in one place, running anywhere". The program can run across operating systems without modifying the source code. Because SUN, the parent company of JAVA, is not strong enough, in fact, when switching to some platforms, operating system vendors are all fragmented, and some codes still need to be modified when porting, but SUN is trying to form a stronger standard to solve such problems. And its competitor Microsoft is also working to form another set of standards to break SUN's unified standards. If you want to know what will happen next, look at market decomposition.