Article View: comp.std.c
Article #4395null pointer constant
From: Denizen of the Deep
Date: Mon, 27 Nov 1995 00:50
Date: Mon, 27 Nov 1995 00:50
9 lines
596 bytes
596 bytes
If the type (void *) is not compatible with pointer-to-function types, then why is the expression (void *)0 a legal null pointer constant? Since the null pointer constant is assignable to a pointer-to- function, it seems that this is rather misleading. -Jon
Technical Details
Message-ID:
<49b202$62t@nntp.Stanford.EDU>Path:
arc1-ca.pugleaf.net!Xenon.Stanford.EDU!beckerShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!Xenon.Stanford.EDU!becker From: becker@Xenon.Stanford.EDU (Denizen of the Deep) Newsgroups: comp.std.c Subject: null pointer constant Date: 27 Nov 1995 00:50:10 GMT Organization: Computer Science Department, Stanford University. Message-ID: <49b202$62t@nntp.Stanford.EDU> NNTP-Posting-Host: xenon.stanford.edu