// CSE 374 15au lecture 8
// Example of declaration-before-use issues

// function first declared and defined after use
// and printf never declared or defined

int main(int argc, char** argv) {
  int x = 10;
  int y = square(x);
  printf("%d^2 = %d\n", x, y);
}

int square(int x) {
  return x*x;
}