Hai Ashutosh N Naik
can you explain what is big endian and little endian then only i can understand your code.please reply me soon.
cheers
Arangs
Ashutosh N Naik <[EMAIL PROTECTED]> wrote:
> Can anyone write a program in C that would say
>
> whether the given processor is Big endian or Little endian.
if( *(long *) "\200\0\0\0\0\0\0\0"<0)
printf("Buig Endian\n");
else
printf?("Little Endian\n");
* --
Ashutosh Naik
Teneoris Networks India Pvt. Ltd
www.teneoris.com
To unsubscribe : [EMAIL PROTECTED]
Do you Yahoo!?
Yahoo! Mail - 250MB free storage. Do more. Manage less.
To unsubscribe : [EMAIL PROTECTED]
| Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To reply to this message, go to:
http://groups.yahoo.com/group/Programmers-Town/post?act=reply&messageNum=4868
Please do not reply to this message via email. (more info)
- To visit your group on the web, go to:
http://groups.yahoo.com/group/Programmers-Town/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
