My main() should get an address as input which needs to be stored in void* address.
int main(int argc, char *argv[])
{
if (argc > 1) {
HandleStr = argv[1];
printf("\n Handle passed : %s\n",HandleStr);
}
}
I want this HandleStr as type void *. How can I do that?
Now, I want to run the exec as ./testapp "0xaf6e9800"
I suspect you want something like