Re: pointers as parameters



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.

.