Hi all, i typecasted the void pointer and try to increment (b++) it to point to the next address but there is this error: "error C2036: 'void *' : unknown size".Code:int a[2] = {0,1}; void *b; b = (int *)&a; b++; printf("a's address: %p\n", b);
Can someone give me some advise on this problem.



LinkBack URL
About LinkBacks


