Story starts from failure. in 1969 a big project named Multics was in trouble. It was a joint venture between General Electric, MIT, and Bell Telephone Laboratories to build an operating system. This operating system was not fast and stable as per expectations so the Bell Lab staff withdrew from this project. Team of Bell … Continue Reading….
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….
This article is the continuation of pointer arithmetic, If you are not familiar with pointer arithmetic then have a look on my article pointer arithmetic. Changing the behavior of one type of variable to another type is known as type casting. Have a look on following example double a = 10.5, b = 20.3; int … 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….
We all know that 1 bit (short for binary digit) is the smallest unit of data in memory and 1 byte is a collection of 8 bits. These two points are the base of this topic and to make it understand we take a real-time example. Suppose in Texas there is newly built housing society and … 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….