C strongly typed?

James Jones jejones at mcrware.UUCP
Sat Mar 10 01:13:56 AEST 1990


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

Eh?  C will let you coerce essentially anything.  If all else fails, coerce the
address of the object about whose type you wish to lie, and then dereference.

	James Jones



More information about the Comp.lang.c mailing list