Oracle interview question

Medium level 2 pointer coding question