Problem with pointers
Sunday, February 17, 2008
A problem with pointer conversion
Question
int i=300;
char *ptr=&i;
*++ptr=2;
printf("%d",i);
Solution
No comments:
Post a Comment
Newer Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
▼
2008
(2)
▼
February
(2)
Question : Union
A problem with pointer conversion
About Me
subtoodle
View my complete profile
No comments:
Post a Comment