Category Archives: CS Basics

Pointers – What are they and why they are our friends!

Pointers are one of the most important and fundamental parts of the C programming language. According to the language creators themselves, “A pointer is a variable that contains the address of a variable. Pointers are much used in C, partly because they are sometimes the only way to express a computation, and partly because they usually lead to more compact and efficient code than can be obtained in other ways.” (KERNIGHAN and RITCHE, 1988, P. 93)

Continue reading