C is an imperative (procedural) language. All the code has to be inside a function. C files are source code of your program. You have to compile C files with a compiler (for instance gcc) to create an executable file

-Resources https://holbertonintranet.s3.amazonaws.com/uploads/misc/2021/1/d801279f75de6a982a55d752dfd3632909f720f0.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIARDDGGGOUWMNL5ANN%2F20210203%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210203T053220Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=27f6921f7e01a4a820c56228d0475d1b020c0c2d92fdcf3bfacb35e972692633