c - Untyped arguments in main -


possible duplicate:
“int main (vooid)”? how work?

main(a,b,c) {     a=1;     b=2;     c=3;     printf("%d %d %d",a,b,c); } 

how 3 integer arguments a,b,c possible inside main, know second formal parameter has pointer pointer character?

argument parameters implicitly int, unless specify otherwise.

main required main(void) or main(int, char **) on hosted platform (i.e., running under os, basically). in freestanding implementation, prototype main implementation-defined.


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -