(or is it your homework exercice?)

On Tue, Sep 13, 2011 at 12:12 PM, Hugo Benicio <[email protected]> wrote:

> are you really trying to print the struct address? (pt points to it), or
> did you just miss typed your code?
>
>
> On Tue, Sep 13, 2011 at 10:35 AM, mandy <[email protected]> wrote:
>
>> struct node
>> {
>> char a,b,c;
>> };
>> struct node s={3,5,6};
>> struct node *pt=&s;
>> printf("%d",(short)pt);
>>
>> 1.indeterminate
>> 2.1283
>> 3.5
>> 4.3
>>
>> so what's the right choice and why???
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "google-codejam" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/google-code?hl=en.
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"google-codejam" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-code?hl=en.

Reply via email to