Sunday, May 23, 2004

:)
Can you tell me "Can anyone tell me what is the output of this small programme?" in one line ?


#define HI 0x01
#define LO 0x00

void pyaar(void)
{
int kis;
unsigned char mode;
kis =1;
mode = set_mode(kis);
return;
}

unsigned char set_mode(int i)
{
static unsigned char dil;
if(i == 1)
dil = HI;
else
dil = LO;
return dil;
}

void main(void)
{
pyaar();
}

Answer tomorrow, believe me it's phaltuu.
----------------------------------------------------

No comments: