Pointers In C - A Boon Or A Bane?
(Page 1 of 5 )
Pointers have been known to cause hours upon hours of frustration for C/C++ programmers, but are they good or bad? Here's Deepak's Insight...All of us might have had introductory courses in programming using one of the languages such as C, C++ or Pascal -- all of which have full support for pointers.
There has been a huge division in academic circles regarding the use of pointers. Some say they are good and some say they are the worst things in programming. Anybody who is well versed with pointers would definitely be part of the former school of thought. Who then constitutes the latter school of thought?
Anybody who has done serious programming would have come across bugs. And anybody who has developed worthy projects using pointers would have come across bugs which he/she would have tried to find out wasting a couple of days, only to discover the fact that the error was due to a dangling reference or something akin to that.
In this article I will demonstrate the use and abuse of pointers using one of the most popular programming language of modern times -- C.
Next: Pointers In C >>
More C++ Articles
More By Deepak P