Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
Null pointers
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Michael Wojcik, post: 2382743"] A plausible interpretation; however, "zero" in your example is not a constant; hence it cannot be a null pointer constant (and indeed does not meet the C99 definition of a null pointer constant); hence this interpretation is irrelevant to the question at hand. The null pointer constant rules need only apply to null pointer constants, which are a special case of constants. And the standard says nothing about converting non-constant integer expressions that happen to have value 0. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
Null pointers
Top