You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you no longer need a block that you got with malloc , use the function free to make the block available to be allocated again.
I understand this program reboots the computer but its still not right to leave everything allocated. It going out of scope isnt enough. The strings dont need to live for the lifetime of the program.
The text was updated successfully, but these errors were encountered:
When you no longer need a block that you got with malloc , use the function free to make the block available to be allocated again.
I understand this program reboots the computer but its still not right to leave everything allocated. It going out of scope isnt enough. The strings dont need to live for the lifetime of the program.
The text was updated successfully, but these errors were encountered: