HSBC Interview Question

Write code to implement malloc and accept 10 integers from the user