Sample


[br]1 [br]<strong>C</strong> is a <strong>functional programming language</strong>, that means C programs are made up of functions. <strong>Functions are actions</strong> that a computer can execute. There are <strong>pre-existing functions</strong> - grouped in files called <strong>libraries</strong> -, but you can also <strong>create your own functions</strong>, using the existing ones. <strong>To include a library</strong> use: [crayon-5d0bfe45194c2683533579/] The most important library in C is <code>stdio.h</code> -<em> STandarD library for Inputs and Outputs </em>- which contains the most common function for managing inputs and outputs. The most important function in C is <code>main</code>. A program is always executed starting from this function. <strong>Main</strong> is a custom function, because it contains custom code - <em>otherwise all programs would do the same thing</em>. To create the main function use this: [crayon-5d0bfe45194cd778351407/] [br]https://itszephyro.com/blog/learn-c/first-c-program/[br]#include <stdio.h> int main() { } [br]

[br]1
[br]C is a functional programming language, that means C programs are made up of functions.

Functions are actions that a computer can execute.

There are pre-existing functions – grouped in files called libraries -, but you can also create your own functions, using the existing ones.

To include a library use:

The most important library in C is stdio.h STandarD library for Inputs and Outputs – which contains the most common function for managing inputs and outputs.

The most important function in C is main. A program is always executed starting from this function.

Main is a custom function, because it contains custom code – otherwise all programs would do the same thing.

To create the main function use this:

[br]https://itszephyro.com/blog/learn-c/first-c-program/[br]#include

int main() {

}
[br]

To learn more, visit: