NVIDIA Interview Question

Implement aligned malloc in C.