Skip to content
Learn Netverks
-2

Can C code run directly on the CPU as an operating system?

asked 5 hours ago by @qa-xvijdiwiveqb4baqwbek 0 rep · 73 views

c operating system

I've heard that C is an example of a low-level language, a language that interacts a lot with the CPU itself and how the CPU works. Of course, libraries like stdio.h and string.h are separate, but assuming I also include those libraries, and then compile that with an operating system in C, could that run directly on a CPU without having to use a different OS? Does firmware also play a role in this?

Comments on this question (0)

Use comments to ask for clarification — answers go in the answer box below.

Log in to comment on this question.

0 answers

Your answer