If C language had the issue of memory allocation then why was that not resolved in c++. Like how come python or other similar languages do not have this issue but c/c++ has it.