Main.cc: In function ‘int main()’:
Main.cc:26:14: error: expected ‘)’ before ‘{’ token
26 | if(!(fun(n)){
| ~ ^
| )
Main.cc:34:1: error: expected primary-expression before ‘}’ token
34 | }
| ^
Main.cc: In function ‘int funa(int)’:
Main.cc:20:1: warning: control reaches end of non-void function [-Wreturn-type]
20 | }
| ^