I have a problem with getting the command line argument
the command line is: a.out 2008
my code for main is: int main (int argc, char *argv)
to return the argument I have printf("Inp para 1: 504d\n", argv);
when I execute the program I get: Inp para 1: -1073743687
when I expect: Inp para 1: 2008
I think somehow I am returning a pointer value instead. Can anyone help me understand this?