What is the correct way to free dynamically allocated memory in C/C++?
What is the correct way to access the value at the nth index of an array in C/C++?
Imported from external platform