You are probably talking about C++, not C, unless those look identical to you:
foo();
int foo;
(int)foo; foo();
int foo;
(int)foo;[0] your method declaration has a small problem, it apparently cannot have parenthesis around returned type.