2 votes 2 votes main() { int p=5, *q; void*r; q=&p; r=&p; r++; print(“%v", r); } Programming in C programming-in-c + – Akriti sood asked Dec 28, 2016 edited Dec 28, 2016 by dd Akriti sood 300 views answer comment Share Follow See all 4 Comments See all 4 4 Comments reply Kapil commented Dec 28, 2016 reply Follow Share %v .. ? 0 votes 0 votes dd commented Dec 28, 2016 reply Follow Share I am assuming they are trying to see what void pointer increment would look like. Don't what is %v ..! Incrementing/decrementing of the void* is undefined behavior, void pointer $\rightarrow$ means pointer to some type. The compiler doesn't know how should it increment a void* , it may increment by,1 Byte but that is just an instance of compiler extension. 1 votes 1 votes dd commented Dec 28, 2016 reply Follow Share #kapil !! %v .. ? .... :) v for vendetta 1 votes 1 votes Kapil commented Dec 28, 2016 reply Follow Share haha !! Right :) 0 votes 0 votes Please log in or register to add a comment.