#include int main(int argc,char *argv[]) { int i=10; void *k; k=&i; k++; printf(\"%p\\n%p\\n\",&i,k); return 0; } >
#include int main(int argc,char *argv[]) { int i=10; void *k; k=&i; k++; printf(\"%p\\n%p\\n\",&i,k); return 0; }
You cannot increment a pointer to void. The compiler does not know what is the sizeof target structure.
void