Thread
:
void pointer increment
View Single Post
girish4c
Newbie Member
3May2010,07:36
hi all,,
if i increase void pointer, in gcc compiler am not getting any error but same its error in VC compiler..
so please let me know wat i need consider as per standards in C?
int i;
void *ptr;
ptr=&i;
ptr++; //ERROR IN VC BUT NO ERROR IN GCC