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