Hi
I want two dimensional pointer point to a return value.
I have done this as below

char **argv;
char *temp = QCoreApplication::applicationFilePath().toAscii(). data(); //returns char*
argv = &temp;
If temporary pointer variable(char *temp) has to be eliminated, it can be done using type casting as below.

char **argv = (char**)QCoreApplication::applicationFilePath().to Ascii().data();
Is there a clean way to do the same without using temporary pointer variable and type casting.