int a = 1; int b = a; b = 5; printf("%i \n", a);
I have tried writing things like
int* b = &a; b = 5;
However i cant change b into an integer from a pointer?
CS50 Stack Exchange is a question and answer site for students of Harvard University's CS50. It only takes a minute to sign up.Sign up to join this community