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

Submitted by: Administrator
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
Submitted by: Administrator

Read Online Apple Job Interview Questions And Answers