hello everyone,
i have a little problem in a very basic program.
this is the code
by the way,Code:#include<stdio.h> main() { int n; printf("please could you enter an integer to verify it\n"); scanf("%d",&n); if(n>=0); { printf("this is a positive integer\n"); getchar(); } if(n<0); { printf("this is a negative integer\n"); getchar(); } }
what is the difference between " main()" and " int main()" and "int main(void)