gcc and NULL function pointers.

Doug Gwyn gwyn at smoke.brl.mil
Thu Jun 27 04:35:14 AEST 1991


In article <1991Jun26.053508.3634 at ringer.cs.utsa.edu> djimenez at ringer.cs.utsa.edu (Daniel Jimenez) writes:
>malloc would return a value of one size which would be a valid character
>pointer, but the wrong size for an integer pointer.

That's okay; the conversion to int* takes care of that.

>I've never heard of machines like that.  Could someone give an example?

Check the comp.lang.c Frequently-Asked Questions posting.  Essentially
any word-oriented machine will be like that.



More information about the Comp.std.c mailing list