Article View: comp.std.c
Article #1491compatibility of types
From: rpjday
Date: Wed, 11 Jul 1990 00:25
Date: Wed, 11 Jul 1990 00:25
8 lines
723 bytes
723 bytes
Can someone tell me if ANSI C considers a type of int[3] in a prototype compatible with a type of int[5] in the function definition? And are these compatible with a type of int*? A reference to the draft would do nicely (this is a subtle way of saying that I would RTFM if I knew which section of TFM was what I wanted :-) Thanks.
Technical Details
Message-ID:
<1990Jul11.002522.24178@ccu.umanitoba.ca>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!alberta!ccu!rpjdayShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!alberta!ccu!rpjday From: rpjday@ccu.umanitoba.ca Newsgroups: comp.std.c Subject: compatibility of types Message-ID: <1990Jul11.002522.24178@ccu.umanitoba.ca> Date: 11 Jul 90 00:25:22 GMT Organization: University of Manitoba, Winnipeg, Canada Lines: 8