[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pcc-list
Subject:    _Bool can be more than 1
From:       TAKAHASHI Tamotsu <tamo () mutt ! no-ip ! org>
Date:       2007-09-26 4:45:26
Message-ID: 20070926044526.GB32694 () mutt ! no-ip ! org ! example ! org
[Download RAW message or body]

Priority: lowest
Standard: C99
Arch: x86

Code:
#include <stdio.h>
int main(void) {
	_Bool a=3;
	printf("%d\n", a);
	a+=2;
	printf("%d\n", a);
	a++;
	printf("%d\n", a);
	return foo;
}

Result:
	1
	2
	3

More info:
	PLUSEQ doesn't exceed 2.
	But INCR goes farther.

-- 
tamo
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic