What is the output of this C code?
#include <stdio.h>
void foo(int*);
int main()
{
int i = 10;
foo((&i)++);
}
void foo(int *p)
printf("%d\n", *p);
10
Some garbage value
Compile time error
Segmentation fault/code crash