#include <stdio.h> int main(){ int *n; void *p = &n; void *q = &(void *)n; printf("%p %p\n", p, q); }
Standard input is empty
prog.c: In function ‘main’: prog.c:7:15: error: lvalue required as unary ‘&’ operand void *q = &(void *)n; ^
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!