C Expected A Declaration In Qtcreator On Valid Code Stack Overflow

C Expected A Declaration In Qtcreator On Valid Code Stack Overflow