Accenture interview question

stack, array, pointer, function, oops concept