prog.cpp:3:5: warning: second argument of ‘int main(int, int, int)’ should be ‘char **’ [-Wmain]
int main(int a,int b,int c)
^
prog.cpp:3:5: warning: third argument of ‘int main(int, int, int)’ should probably be ‘char **’ [-Wmain]
prog.cpp:7:5: warning: second argument of ‘int main(int, int)’ should be ‘char **’ [-Wmain]
int main(int b,int c)
^
prog.cpp: In function ‘int main(int, int)’:
prog.cpp:7:21: error: declaration of C function ‘int main(int, int)’ conflicts with
int main(int b,int c)
^
prog.cpp:3:5: error: previous declaration ‘int main(int, int, int)’ here
int main(int a,int b,int c)
^
prog.cpp: In function ‘int main()’:
prog.cpp:11:10: error: declaration of C function ‘int main()’ conflicts with
int main()
^
prog.cpp:7:5: error: previous declaration ‘int main(int, int)’ here
int main(int b,int c)
^
prog.cpp:11:10: error: declaration of C function ‘int main()’ conflicts with
int main()
^
prog.cpp:3:5: error: previous declaration ‘int main(int, int, int)’ here
int main(int a,int b,int c)
^