how to create a function in c in the main code example Example: main function in c int main(int argc, char *argv[])