As I understand it, __argv returns a 'char**'. Based on that, it makes since that the below code works.
I would expect the below code to also work but it doesn't.Code:char** argv = __argv; //works
I was googling and found the below code. It works. I would very much appreciate and explanation of why this works. What does '(const char**)' do?Code:const char** argv = __argv; //fails
ThanksCode:const char** argv = (const char**) __argv; //works