1 2 3 4 5 6 7 8 9 10
#include <stdio.h> int foo(); // defined in a.cpp int main() { printf("The answer is %d.\n", foo()); return 0; }