I was wondering when you code something likeWhere does the the memory come from to allocate space for 100, I saw a professor say it just finds a 100 in memory and points to it but that sounds like bologna.Code:int *ptr; *ptr=100;
I was wondering when you code something likeWhere does the the memory come from to allocate space for 100, I saw a professor say it just finds a 100 in memory and points to it but that sounds like bologna.Code:int *ptr; *ptr=100;