Hi,
I found out where is error while building and compiling. Let met clear your doubts.
Go to Settings->Compiler and Debugger->Choose Tool chain executable tab->
Change Compiler installation directory from /usr/lib to /usr and click ok
Now Try Ctrl + 10 to Run your source code. We can see your program working fine.
If You have any doubt ping me back at softdreams4u@hotmail.com.
Have a nice day,
Babu.S