I created a char array like so:
char arr[3] = \"bo\";
How do I free the memory associated with array I named \"arr\"?
char arr[3] = "bo";
The arr takes the memory into the stack segment. which will be automatically free, if arr goes out of scope.