I tried doing this in C and it crashes:
int nValue=1;
void* asd;
asd[0]=&nValue;
With the following error:
*error C2036: 'void**' *: unknown size
error C2100: illegal indirection*
Can I use a void pointer in C as an array?
And if I can, what is the correct way to do so?
you can write like this: