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
Please explain this code to me
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Walter Roberson, post: 2835563"] Yes, it is a cast of the address to become a pointer to a function returning void. The casting of a integral value into a pointer to an object type is implementation defined. The casting of a numeric value into a pointer to a function type is undefined in the C89 standard, but it is not a constraint violation so particular implementations can do whatever they want with it (possibly even something useful.) The code you have found uses non-standard extensions and is decidedly not portable. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
Please explain this code to me
Top