GlobalLogic interview question

Strings, pointers, arrays, memory allocations, structures, bit operations.