What's the difference between this declaration:
void
main(argc, argv)
int argc;
char **argv;
{
// ...
}
from this?
void
main(int argc, char **argv)
{
// ...
}
Thanks for answers.
What's the difference between this declaration:
void
main(argc, argv)
int argc;
char **argv;
{
// ...
}
from this?
void
main(int argc, char **argv)
{
// ...
}
Thanks for answers.
Its a different notation style that was used in C at its beginning called the KR Notation (for Kernighan and Ritchie, C's designers). The well known C notation style that is used today follows the ANSI standard.
Here's link to a Wikipedia article describing the KR notation : http://en.wikipedia.org/wiki/K%26R_C#K.26R_C