Equal to operand
From: rasayani (vividh_at_hotmail.com)
Date: 04/28/04
- Next message: Russell Hanneken: "Re: Equal to operand"
- Previous message: Vijay Kumar R Zanvar: "Re: C Static program analyzer"
- Next in thread: Russell Hanneken: "Re: Equal to operand"
- Reply: Russell Hanneken: "Re: Equal to operand"
- Reply: Joona I Palaste: "Re: Equal to operand"
- Reply: Richard Bos: "Re: Equal to operand"
- Reply: Christian Bau: "Re: Equal to operand"
- Reply: John Bode: "Re: Equal to operand"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 27 Apr 2004 23:30:08 -0700
Does anyone know what the advantage is of using the following statement
char *p = NULL;
if (NULL == p)
{
}
over
char *p = NULL;
if (p == NULL)
{
}
- Next message: Russell Hanneken: "Re: Equal to operand"
- Previous message: Vijay Kumar R Zanvar: "Re: C Static program analyzer"
- Next in thread: Russell Hanneken: "Re: Equal to operand"
- Reply: Russell Hanneken: "Re: Equal to operand"
- Reply: Joona I Palaste: "Re: Equal to operand"
- Reply: Richard Bos: "Re: Equal to operand"
- Reply: Christian Bau: "Re: Equal to operand"
- Reply: John Bode: "Re: Equal to operand"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]