learning C here. I am currently in topic of pointers and i am confused about somethings.
int c;
printf("insert the first number of your age");
scanf("%d", &c);
The one above works ok but not
int c;
int p = 1;
c = &p;
And also, why don't we use & for strings. As in for example
char val[2];
printf("please insert your Blood type");
scanf("%c",val);
I have a decent knowledge of computer architecture. If it can be related, it would be very nice if you explain it to me by connecting it to microinstructions and the CDU(control decoding unit) by relating it also to external buses like MAR and MDR