You will need to define a struct to represent the strings


Write a memory allocator smalloc for C strings that uses a specialpurpose allocator for small strings but calls ma1 1 oc directly for large ones. You will need to define a struct to represent the strings in either case. How do you decide where to switch from calling small oc to ma1 1 oc?

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: You will need to define a struct to represent the strings
Reference No:- TGS02185722

Expected delivery within 24 Hours