#include <stdio.h>   // printf
#include <stdlib.h>  // EXIT_SUCCESS

void Foo() {
  static int count = 1;
  printf("Foo has been called %d times\n", count++);
}

void Bar() {
  int count = 1;
  printf("Bar has been called %d times\n", count++);
}

int main(int argc, char** argv) {
  Foo();
  Foo();
  Bar();
  Bar();
  return EXIT_SUCCESS;
}