is main function mandatory in c code example Example: main function in c int main(int argc, char *argv[])