home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
lclint.zip
/
lclint-2_3h-os2-bin.zip
/
test
/
tests2.2a
/
boolcomp.c
< prev
next >
Wrap
Text File
|
1997-09-03
|
248b
|
19 lines
int f (bool a, bool b)
{
if (a == b) /* 1. */
{
return 3;
}
else if ((a == b) /* 2. */
==
(a != b)) /* 3. */
{
return 5;
}
else if ((a == FALSE) ==
(b == TRUE)) /* 4. */
{
return 7;
}
}