main.c
#include <stdio.h>
#include "other.h"
int main (void)
{
printf("%d\n", getfavoritenumber());
return 0;
}
other.h
Code:
#ifndef _OTHER_H_
#define _OTHER_H_
int getfavoritenumber(void);
#endif
other.c
#include "other.h"
int getfavoritenumber(void)
{
return 3;
}