Can anybody explain to me what's this syntax? This is the first time i see anything like it, and i've been programming in C since i was a teenager.
main(argc, argv)
char **argv;
{
} main(argc, argv)
char **argv;
{
}I think most modern compilers will warn on encountering such short hand due to the common error of accidentally declaring integers when you meant to assign a value to a variable you forgot to declare.
This syntax is probably nice if you use a line oriented editor like ed