When i run this code.
#include void moo(int a, int *b); int main() { int x; int *y; x = 1; y = &x; printf(\"Addr
You want to use %p to print a pointer. From the spec:
%p
p The argument shall be a pointer to void. The value of the pointer is converted to a sequence of printing characters, in an implementation-defined manner.
p
void
And don't forget the cast, e.g.
printf("%p\n",(void*)&a);