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
/
controldepth.c
< prev
next >
Wrap
Text File
|
1997-09-03
|
349b
|
27 lines
void f (int x, int y)
{
if (x > y)
{ /* depth = 1 */
{ /* still, depth = 1 */
while (x > 3)
/* depth = 2 */
if (y == 2) /* depth = 3 */
x++;
if (y == 2)
x++; /* depth = 2 */
else
{ /* depth = 2 */
if (y == 4) /* depth = 3 */
{
x++;
}
else
{
y++;
}
}
}
}
}