adspace


shrikanth


{ City } bangalore
< Country > india
* Profession * trainee
User No # 17756
Total Questions Posted # 0
Total Answers Posted # 1

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 19
Users Marked my Answers as Wrong # 3
Questions / { shrikanth }
Questions Answers Category Views Company eMail




Answers / { shrikanth }

Question { 23407 }

what is the difference between NULL & NUL keywords in C?


Answer

NULL is a macro defined in for the null pointer.
NUL is the name of the first character in the ASCII
character set. It corresponds to a zero value. There's no
standard macro NUL in C, but some people like to define it.
The digit 0 corresponds to a value of 80, decimal.
Don't confuse the digit 0 with the value of '' (NUL)!
NULL can be defined as ((void*)0), NUL as ''.

Is This Answer Correct ?    19 Yes 3 No