Pointer Tips :-)

This tip submitted by Jatin Gandhi on 2005-10-15 12:44:23. It has been viewed 75420 times.
Rating of 6.6 with 763 votes



Hi,
I have some tips for the beginners.,

1) Never ever forget to initialize the pointer. This may be simple and easy known stuff but here I would like to add it as an embedded system developer that this was the main cause of many bugs.
2) Also never change the pointer variable itself unless & until you need to change the pointer.
3) Also monitor that the pointers are not overlapping if not pointing to same memory location range.



More tips

Help your fellow programmers! Add a tip!