int main(){ int a = 5; int b = 6; int* aptr = &a; int* bptr = aptr; aptr = &b; printf("%d",*bptr);}
Standard input is empty
5
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!