Why do I have to use free() when I declare a pointer such as:
int *temp = (int*)malloc(sizeof(int)) *temp = 3;
but not when I do:
Further to points made this post clarifies things further.