Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in C only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
C
(void*)(&abc) and (void *)(abc)
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
askcq
New Member
Join Date:
Mar 2007
Posts:
63
#1
(void*)(&abc) and (void *)(abc)
May 17 '07, 09:14 AM
what is the difference between these
(void*)(&abc) and (void *)(abc)
where abc is a local varaible inside a function
svlsr2000
Recognized Expert
New Member
Join Date:
Feb 2007
Posts:
181
#2
May 17 '07, 10:45 AM
Originally posted by
askcq
what is the difference between these
(void*)(&abc) and (void *)(abc)
where abc is a local varaible inside a function
if abc is integer
in (void *)(&abc), you are trying to cast integer pointer to void *
in (void *)(abc), you are trying to cast integer to void *
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment