27-05-2010, 04:38 AM
void foo()
{
int errno;
errno = GetValue();
if(errno == 0) //Is this usage of errno violates the rule 20.5, errno is user defined variable not from the errno.h
{
}
}
int GetValue()
{
return 10;
}
{
int errno;
errno = GetValue();
if(errno == 0) //Is this usage of errno violates the rule 20.5, errno is user defined variable not from the errno.h
{
}
}
int GetValue()
{
return 10;
}
<r><COLOR color="#FF40FF"><s></s>Pundlik Oulkar<e></e></COLOR></r>