APP AMPLIFY interview question

write the output of c pointer program, java inheritence, c++ inheritence etc.