The GitHub Repository is available here: github.com/pyjamabrah/c-language
@blaisofotso34393 күн бұрын
Hallo from Germany. Great tutorial. how does the print get to execute if std.io.h only includes the header files? isn't the linker has to link the cop file?
@pyjamabrah3 күн бұрын
That is correct. I omitted that detail in this lecture. We will return to it in future lectures :)
@alifaizan43773 күн бұрын
You need two things to execute a function: function definition and function call. The definition of the printf function is present inside stdio.h and the function call is present within the main function in the file "main.c" "Including" a header file is more or less similar to copying the contents of that file into your code which is how your main.c file gets the definitions of all the functions defined within stdio.h