Free memory in C Programming
How can I free memory of an array of pointers without knowing the size of the array? For example: char *planet
thank you [user id=11932555]Coder Kitten[/user]
The array is used as parameter for a function. Thanks all, I solved the problem by using pointer to pointer to traverse though the array. [user id=2241489]Martin Taylor[/user] [user id=11932555]Coder Kitten[/user]
Thanks 🌹 for the Help
char **planets; planets = malloc(sizeof(char*) * 8); this function is use for the memory of numbers in c.
Free month of PRO subscription
What's the problem?
Hash in python
Please help me with HTML
Unable to overload +
Package of the Java