@prem, i don't get it.could you please elaborate the interesting part of
this solution ?


On Thu, Jun 7, 2012 at 11:39 AM, Abhishek Sharma <[email protected]>wrote:

> Is there any online compiler which gives output for both little/big endian
> machines ?
> or it is fine to convert value from one form to another using a small c
> program ?
>
> On Thu, Jun 7, 2012 at 1:13 AM, Garima Mishra <[email protected]>wrote:
>
>> 556 if the machine is little endian
>> 258 if machine is big endian
>>
>> On Jun 6, 11:57 pm, g4ur4v <[email protected]> wrote:
>> > main()
>> > {
>> > int i=300;
>> > char *ptr = &i;
>> > *++ptr=2;
>> > printf("%d",i);
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > }
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Algorithm Geeks" 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/algogeeks?hl=en.
>>
>>
>
>
> --
> Abhishek Sharma
> Under-Graduate Student,
> PEC University of Technology
>
>


-- 
Abhishek Sharma
Under-Graduate Student,
PEC University of Technology

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" 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/algogeeks?hl=en.

Reply via email to