Doubt
- From: Anarki <Deepchand.P@xxxxxxxxx>
- Date: Thu, 31 Jul 2008 03:41:06 -0700 (PDT)
int main(a,b,c,d,e,f,g)
{
printf("Size of a = %d\nSize of b =%d",sizeof(a),sizeof(b));
return 0;
}
The above program perfectly compiles in cygwin using gcc
and my questions are
1.How does the compiler know what are the types of variables a, b, c,
d, e, f and g?? Where is its declaration?
2.I haven't included stdio.h yet the printf compiles.The compiler
doesn't complain about the requirement of function prototype, why?
.
- Prev by Date: Re: stream io in c
- Next by Date: Re: Doubt
- Previous by thread: file deletion in a directory with some conditions .
- Next by thread: Re: Doubt
- Index(es):
Relevant Pages
|