linked-in drivers once again

Sebastian Strollo <>
Fri Jun 29 03:07:46 CEST 2001

"Vance Shipley" <> writes:

> I disagree:
> $ cat > t.c
> main()
> {
>         int var;

That is an *automatic* variable, not a static one. Automatic variables
can have (as your example shows) any value, static and external are
initialized to 0.

  % cat > t.c
  static int var;
      printf("var=%d\n", var);
  % gcc t.c
  % ./a.out 

Although I agree with your statement that uninitialized variables is a
common cause of very confusing errors when you program in C.


More information about the erlang-questions mailing list