This article will explain that why and how pointers and arrays are similar. There is a quick introduction about pointer constants and pointer variables because these terms are used in this article very often. The place where the address of a variable can be stored is called pointer variable and the address of that variable … Continue Reading….
In my previous blog “Pointers. An indirect data access” we have discussed in a simple way that how you can access data by using pointers. Integer, character and double are different types of variables which can be declared and initialized in memory. int i; i = 20; char ch; ch = ‘A’; We know that pointers are also variables … Continue Reading….
In pointers there are two arithmetic operations which can be performed. One is addition and second is subtraction. When you add some numbers in pointer it means that you are moving forward in memory and when you subtract some numbers then it means you are traversing back from that address where pointer is pointer at … Continue Reading….
Pointer to constant and constant pointer are bit confusing terms for some people but in this article I will try to make it clear. In my previous blog “Pointers. An indirect data access” we have discussed in a simple way that how you can access data by using pointers. This topic is the continuation of the previous one (please have a … Continue Reading….