Hi there,
I have three questions.
1. What is the difference between using:
andCode:const char varchar[] = "this is an example";
In both cases do I need to use the free function to release memory? I mean,Code:const char * varchar = "this is an example";
2. Do I need to release memory if I define this line?Code:free(varchar);
then,Code:int array[4]={1,2,3,4};
3. What if I wanted to release a variable of type int from the memory? For instance,Code:free(array);
Thank you!Code:int varint = 4;