// CSE 374 17wi lecture 8 // Example of declaration-before-use issues // include declarations of printf, etc. #include // Function defined (and declared) before first use // (but we don't always want to organize our code based // strictly on what-calls-what) int square(int x) { return x*x; } int main(int argc, char** argv) { int x = 10; int y = square(x); printf("%d^2 = %d\n", x, y); }