Wite a memory allocator smalloc for c strings that uses a


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: Wite a memory allocator smalloc for c strings that uses a
Reference No:- TGS02187418

Expected delivery within 24 Hours