باطل نوع وثابت فارغة
نحويا نوع الفراغ هو نوع أساسي جنبا إلى جنب مع أنواع شار، uchar، منطقي، وباختصار، USHORT، الباحث، UINT، اللون، طويلة، ULONG، التاريخ والوقت، تطفو، مزدوجة وسلسلة. ويستخدم هذا النوع إما للإشارة إلى أن وظيفة لا يرجع أي قيمة، أو كمعلمة وظيفة فإنه يدل على غياب المعلمات.
ومحددة سلفا NULL متغير ثابت من النوع الفراغ. ويمكن أن تسند إلى متغيرات أي نوع من أنواع أساسية أخرى دون تحويل. ولا يسمح للمقارنة بين المتغيرات نوع الأساسية مع قيمة NULL.
على سبيل المثال:
// --- إذا لم يتم تهيئة السلسلة، ثم قم بتعيين قيمة محددة مسبقا لدينا إليها
إذا (some_string == NULL) some_string = "فارغة".
كما NULL يمكن مقارنة مؤشرات إلى الكائنات التي تم إنشاؤها مع المشغل الجديد .