The printf("Hello") executes first, printing Hello. The return 5 statement then exits the function immediately - code after return is unreachable. While standard C prohibits return with a value in void functions, GCC allows it as an extension. The output is just Hello.