Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*Napisati funkciju void free_words(char** w) koja
- oslobađa alociranu dinamičku memoriju.*/
- #include <stdlib.h>
- void free_words(char **w) {
- char **t = w;
- while(w && *t) {
- free(*t);
- t++;
- }
- free(w);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement