In this article we will explain how to write, compile and run a simple C program in Debian. This will serve as a basis for you to move on to more complicated and useful C programs that you can write and run on Linux.
Source: LXer – How to Write and Run a C program in Debian 10