Re: [SLUG] [PIG] Guess That Function #1

From: Eben King (eben1@tampabay.rr.com)
Date: Mon May 01 2006 - 20:57:27 EDT


On Mon, 1 May 2006, Dylan William Hardison wrote:

> So, guess what this C-language function does:
> int f(void)
> {
> long one = 1;
> return ! ( *((char *)(&one)) );
> }
>
> I'll give you a hint: It either returns 1 or 0, depending on what you
> compile it on.

What does it do?

-- 
-eben    ebQenW1@EtaRmpTabYayU.rIr.OcoPm    home.tampabay.rr.com/hactar
ARIES:  The look on your face will be priceless when you find that 40lb
watermelon in your colon.  Trade toothbrushes with an albino dwarf, then
give a hickey to Meryl Streep.  -- Weird Al, _Your Horoscope for Today_
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS).  Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:32:14 EDT