BP> KK> private:
BP> KK> char *name;
BP> KK> name = char*(NULL);
BP> 2 questions:
BP> a) why do you use the cast?
BP> b) why do you use NULL?
BP> I'd probably use
BP> name = 0;
bp>....
Just force of habit, really.
Since I mean to return a pointer of type char, that is
precisely what I am going to do.
The compiler will not likely complain at name = 0, true.
It is simply mindless adherence for no real reason other than
that my superstitious rituals comfort me. :)
Since the code that is output is probably identical, I really
didn't accomplish anything except possibly the removal of a
mostly harmless ambiguity from the source.
> ] I'm so relieved... My IQ test came back negative...........
---
---------------
* Origin: *YOPS ]I[* 3.1 GIG * RA/FD/FE RADist * Milwaukee, WI (1:154/750)
|