Quote Originally Posted by Dren View Post
...
Code:
int x = 10;
int ptr *y = &x;

scanf("%d\n", y);
I wrote this that one day my brain was having an existential crisis. Which means it was filled with mental diarrhea instead of gray matter. Please forgive any confusion I may have caused you. I fixed the code now.