这个程序运行不出结果,error怎么解释呀
void foo(int a)
{
cout << a << endl;
}
int main()
{
int *b = new int;
foo(*b);
*b = 5;
foo(*b);
b--;
foo(*b);
b++;
(*b)--;
foo(*b);
foo(reinterpret_cast(b));
return 0;
}