4 ms·
1) that will call strlen on "submenu" 2) the writer may be using a different malloc than the libc one 3) there is an argument to be made that using malloc pla
by anon4 13y ago
1) that will call strlen on "submenu"
2) the writer may be using a different malloc than the libc one
3) there is an argument to be made that using malloc plainly like this instead of hiding it with strdup makes it easy to see the sites in your program where heap memory is allocated