int f(){ return 0; } int main(){ int *p; *p = f(); // some function f returning int }