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