1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#include <stdio.h> struct foo; struct foo* get_foo(void); void print(struct foo* f) { printf("%p\n", f); } int main() { print(get_foo()); return 0; }