// CSE 374 15au 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 who-calls-who) 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); }