Int main(int argc, char* argv[])

int main(int argc, char* argv[])


or

int main(int argc, char** argv)

Attached: vilcus_plug.jpg (400x588, 25K)

Other urls found in this thread:

lkml.org/lkml/2015/9/3/428
twitter.com/SFWRedditImages

Same thing really

first one

char **argv

it doesn't matter though, [] is syntactic sugar for one pointer dereference aka *
i bet you think argv has to be called that

stop making bikeshed threads and go program
in fact delete this fucking thread

way to answer the question numbnuts

this

fucking trannies

yeah brah bikeshed brah
if I knew where you lived I'd love you so much
I'd love you so bad

I write it like this:

int main(int argc, char *argv[])

void main()

Attached: 1536560128686.png (832x1000, 500K)

Neither. C is a useless waste of time these days.

that guy probably sucks as an athlete

int main(int argc, char *argv[argc])

Neither -- your framework will provide the entry point.

int main(int argc, char **argv)
Array parameters do not exist and you should not pretend that they do.

void
main(int argc, char *argv[])
{
}

it places
the lotion
in the basket
or it gets
the hose
again [] ;;

So much insecurity on display in so few words

its the basic signature for fucking main in any language...

Attached: 1555537936956.gif (625x626, 808K)

Array parameters were a mistake. They make you think that you can do sizeof on them, but you cant. You can only do sizeof on array variables. That's why arrays should never be used as parameters in C.

Attached: 1552403928927.png (581x525, 55K)

public static void main(String... args)

First for C++, second for C.

lkml.org/lkml/2015/9/3/428