Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!brutus.cs.uiuc.edu!jarthur!uci-ics!bvickers From: bvickers@ics.uci.edu (Brett J. Vickers) Newsgroups: comp.lang.c Subject: Re: C strongly typed? Message-ID: <25F85CF6.7304@paris.ics.uci.edu> Date: 10 Mar 90 01:48:39 GMT References: <259@eiffel.UUCP> <1990Mar1.172526.28683@utzoo.uucp> <849@enea.se> <1990Mar7.182230.5517@utzoo.uucp> <25F5AA40.27091@paris.ics.uci.edu> <25695@masscomp.ccur.com> <25F6E8B7.16437@paris.ics.uci.edu> <26644@masscomp.ccur.com> Reply-To: bvickers@ics.uci.edu (Brett J. Vickers) Organization: UC Irvine Department of ICS Lines: 18 ftw@quasar.westford.ccur.com (Farrell Woods) writes: >bvickers@ics.uci.edu (Brett J. Vickers) writes: >>ftw@quasar.westford.ccur.com, I write: >>>...The point is that `char' and `int' (and, `short' and `long') >>>all describe *integer* quantities.... > >>If C were as strongly typed a language as Ada (or Pascal) is, it >>would not allow integers to be accessed and stored as char types. > >You're missing the point: C doesn't have a `char' type in the same sense >as Pascal, et. al. In other words, C is NOT strongly typed. The very fact that C treats characters as 8-bit integers suggests this. It is fundamentally flexible where type is concerned. -- bvickers@bonnie.ics.uci.edu