+ 3

Do using dynamic memory in functions causes was reducing memory used by application?

23rd Mar 2017, 5:13 PM
Reza Sadeghi
Reza Sadeghi - avatar
4 Respuestas
+ 2
yes it saves a lot of memory by avoiding multiple copying...
23rd Mar 2017, 6:43 PM
Ritveak Dugar
Ritveak Dugar - avatar
+ 1
thanks
23rd Mar 2017, 7:13 PM
Reza Sadeghi
Reza Sadeghi - avatar
+ 1
plz follow me and give an upvote 😊
23rd Mar 2017, 7:14 PM
Ritveak Dugar
Ritveak Dugar - avatar
+ 1
but function variables are local.and after return of function they are not useable.
23rd Mar 2017, 7:26 PM
Reza Sadeghi
Reza Sadeghi - avatar