fil@programming.devtoOpensource@programming.dev•best alternative to windows file explorer?
2·
2 months agoSome companies have policies of only using Windows on their laptops. Also this could be a friend’s laptop
Some companies have policies of only using Windows on their laptops. Also this could be a friend’s laptop
Excellent catch! Added validation for the new
params
Thanks for the tip! Updated
By adding the return statement you pass the ownership of the string back to main. The unmodified function just took the ownership of the string and deallocated it after printing. Hope this helps
Is there a link to the blog somewhere?