Answers

Question and Answer:

  Home  Apple

⟩ Designed a similar API like malloc, which has a similar functionality. How do you test the API?

1) Give a very large size(1000000000) and check if its able to allocate

2) Provide number values 1,3,0,100

3) Give a character in size to api

4) GIve blank spaces

5) NUll value for size field in api

6) Call the api from multiple sessions

 208 views

More Questions for you: