Define function and use it
#include <stdio.h> int f(void); /* prototype */ int main(void) { int num; num = f( ); printf("%d", num); return 0; } int f(void) { return 10; }