Look at the following program.
int main()
{
char a=65, ch ='c';
printit(a,ch);
}
printit(a,ch)
{
printf("a=%d ch=%c",a,ch);
}
Even if the data type of the arguments is not specified in the function 'printit()', the result is shown on printf. I see correct answer when i compile it with gcc and run it.Why? Is it not necessary to specify the data type of arguments in C ? What is the default datatype of argument taken in the case shown above?