Question: Does the following function have a memory problem? int . fun(int n) { int - tmp; tmp malloc(sizeof(int)n); tmp = 7 return tmp; ) O
Does the following function have a memory problem? int . fun(int n) { int - tmp; tmp malloc(sizeof(int)n); "tmp = 7 return tmp; ) O No Yes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
