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
Post a Comment