Qualcomm Interview Question

Rotate a matrix, a problem with bitshifting, one with arrays, write memcpy in c