Well of course it is, me bucko! Did ye think I take ye for a scurvy lubber?
Seriously ... the standard top-level function for a C program is called main(). It is expected to be called with two arguments: an integer telling the length of the second argument, followed by an argument vector of pointers to strings. By convention, these are called argc and argv; thus main() is typically declared as follows:
int main (int argc, char **argv)
However, as long as you're consistent about it, you could call those two variables whatever you like. You could call them ren and stimpy, so long as you always consistently referenced them by those names throughout main().
int main (int ren, char **stimpy)
So if you're feeling piratical and feel like inserting a few extra Rs, ti works just fine ... as long as you're consistent about it. :)
no subject
select 'Arrrrgghhh!' from dual;
no subject
awk '{printf("%d%d%d%d\n",1,0,0,0)}'
no subject
no subject
no subject
main( ) {
printf("Arrrgh, you blackheart!");
}
no subject
no subject
no subject
no subject
no subject
Seriously ... the standard top-level function for a C program is called main(). It is expected to be called with two arguments: an integer telling the length of the second argument, followed by an argument vector of pointers to strings. By convention, these are called argc and argv; thus main() is typically declared as follows:
int main (int argc, char **argv)
However, as long as you're consistent about it, you could call those two variables whatever you like. You could call them ren and stimpy, so long as you always consistently referenced them by those names throughout main().
int main (int ren, char **stimpy)
So if you're feeling piratical and feel like inserting a few extra Rs, ti works just fine ... as long as you're consistent about it. :)
no subject