Re: pointers as parameters
- From: mdh <mdeh@xxxxxxxxxxx>
- Date: Thu, 29 Nov 2007 16:27:55 -0800 (PST)
On Nov 29, 4:21 pm, Mark McIntyre <markmcint...@xxxxxxxxxxx> wrote:
mdh wrote:
If there is no difference in the
"actual" pointers of different types ....snip
Note that there _may_ in fact be a difference. Pointer representations
need not all be indistinguishable.
.......the reason one declares the pointer's
type........is that during the compilation of the program, the
compiler is able to check the code and prevent errors at run time?
Yes.
thanks Mark...a little lightbulb has just lit up for me in C.
.
- References:
- pointers as parameters
- From: mdh
- Re: pointers as parameters
- From: user923005
- Re: pointers as parameters
- From: mdh
- Re: pointers as parameters
- From: Mark McIntyre
- pointers as parameters
- Prev by Date: Re: why i value doesn't change ?
- Next by Date: Re: malloc realloc and pointers
- Previous by thread: Re: pointers as parameters
- Next by thread: Re: pointers as parameters
- Index(es):