Report question

Question: Can one executable be both a console and GUI application?