Interviewer And Interviewee Guide

C Pointers Interview Question:

Tell me is NULL always defined as 0(zero)?

Submitted by: Muhammad
NULL is defined as either 0 or (void*)0. These values are almost identical; either a literal zero or a void pointer is converted automatically to any kind of pointer, as necessary, whenever a pointer is needed (although the compiler can't always tell when a pointer is needed).
Submitted by: Muhammad

Read Online C Pointers Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.