You're welcome.

But please note that I made a little error in my code. It should be sizeof(char) instead of sizeof(char*). This way four times the nececcary memory was allocated.