Hi,
I have a very simple question.
"ptr" is a pointer to a "struct", "value" is a member (there are other members also) of this "struct" and "x" is an integer. What does following code return:
return (ptr + x)->value.
Thanks.
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Results 1 to 2 of 2
Thread: a simple question
|
Click Here to Expand Forum to Full Width |