C strongly typed?

Brett J. Vickers bvickers at ics.uci.edu
Thu Mar 8 10:41:36 AEST 1990


In article <1990Mar7.182230.5517 at utzoo.uucp> henry at utzoo.uucp (Henry Spencer) writes:
>                                  C's type system is not extensible unless
>you count "struct", but the language is strongly typed -- mixing random
>types is not allowed.

This is simply not true.

foo()
{
  int a;
  char c;

  a = 48;
  c = a;
}

As far as I know, this will compile.  C is extremely flexibly typed.
If you want a strongly typed language, use Ada.

--
bvickers at bonnie.ics.uci.edu



More information about the Comp.lang.c mailing list