Em [[C language|C]] é possível definir suas próprias funções. Para fazer isso, use a seguinte sintaxe ```c void _myFunction_() { // code to be executed } ``` Por exemplo: ```c // Create a function void myFunction() { printf("I just got executed!"); } int main() { myFunction(); // call the function return 0; } // Outputs "I just got executed!" ``` É importante notar que as funções devem estar na ordem de execução. No entanto, também é possível alterar a ordem em que as funções são executadas. ```c void myFunction(); int main() { myFunction(); // call the function return 0; } //Create a function void myFunction() { printf("I just got executed!"); } // Outputs "I just got executed!" ``` **:: Referência ::** [Funções C (w3schools.com)](https://www.w3schools.com/c/c_functions.php)