how to declare main function in c without command-line arguments code example Example: main function in c int main(int argc, char *argv[])