Hi there,

I am passing command line arguments to a program.

I know traditionally people declare argc and argv like this:

int main(int argc, char *argv[]

but I need to pass bigger numbers into my program (type long long).

Is it OK to use the following:

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

Or am I making a mistake with this?

Sorry for the newbie question, just couldn't find any examples of this being done, hence my doubt.

Thanks for any advice on this!

Carrots :)

No, you're wrong.
argc is a COUNT of the number of arguments, it has nothing to do with the value of any single argument.

All the args are in argv[] as a series of string, which you need to covert.

So a long long int would be a string in argv[1] with
./myprog 1234567890987654321