News:

MyKidsDiary.in :: Capture your kids magical moment and create your Online Private Diary for your kids

Main Menu

Null pointer

Started by sukishan, Jul 10, 2009, 01:18 PM

Previous topic - Next topic

sukishan


Null pointer

A null pointer is a regular pointer of any pointer type which has a special value that indicates that it is not pointing to any valid reference or memory address. This value is the result of type-casting the integer value zero to any pointer type.

int * p;
p = 0;     // p has a null pointer value 


Do not confuse null pointers with void pointers. A null pointer is a value that any pointer may take to represent that it is pointing to "nowhere", while a void pointer is a special type of pointer that can point to somewhere without a specific type. One refers to the value stored in the pointer itself and the other to the type of data it points to.
A good beginning makes a good ending

jeckwills

A null pointer is conceptually different from an uninitialized pointer. A absent arrow is accepted not to point to any object; an uninitialized arrow ability point anywhere. Also, NULL agency that the arrow has been set to the NULL amount that is usually aught (0) but the NULL amount is at the digression of the compiler manufacture so a pointer should always be set to the NULL value and not zero.

Vonaldrip

Торговая марка: VD-Sport, Украина.Детский спортивный уголок- «Кроха- 2 Plus 1» Характеристики: Высота: 150 см Ширина: 85 см Длина: 132 см Материал: Сосна Перекладины: Бук Гимнастические кольца: Пластик Вид крепления: не требует крепления Вес товара: 30 кг Гарантия: 12 месяцев Цвет: Орех Длина горки: 130 см Комплектация детского спортивного уголка «Кроха- 2 Plus 1» 1. Шведская стенка. 2. Гладиаторская сетка. 3. Рукоход 4. Детская горка Волна 5. Кольца. Подробнее.
Манжеты для тренировки ног.
Смотрите подробности спортивная площадка тут.
Как выбрать хороший купить турник для улицы
 
На выставке «Дворец в горах» представлено около трех десятков свитков из фондов Музея Ханенко. Большинство из них написано в XIX веке китайскими художниками, последователями традиции классической живописи на свитках.Вес конструкции составляет 80 кг, а ее стоимость – 24 тыс. рублей.