A computer executes machine code. It is a binary 0 and 1s in a very precise format the central processing unit can run.
There is a software named compiler that translates the human-written code into machine code, so it can be executed.
Another way is having an interpreter, which is a software that can read code and execute it directly.
Latest Answers