what is the difference between NULL & NUL keywords in C?
Answer Posted / abhijit
NULL is a macro defined in <stddef.h> for the null pointer.
<br>NUL is the name of the first character in the ASCII
character set. It corresponds to a zero value. There?s no
<br>standard macro NUL in C, but some people like to define
it. <br>The digit 0 corresponds to a value of 80, decimal.
Don?t confuse the digit 0 with the value of ?? (NUL)!
<br>NULL can be defined as ((void*)0), NUL as ??. <br>
? NewInterviewQuestions.com
Is This Answer Correct ? | 17 Yes | 5 No |
Post New Answer View All Answers
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
What is data structure in c programming?
List a few unconditional control statement in c.
Write a code to remove duplicates in a string.
The number of measuring units from an arbitarary starting point in a record,area,or control block to some other point a) recording pointer b) offset c) branching d) none
How do you determine the length of a string value that was stored in a variable?
cavium networks written test pattern ..
What is a nested formula?
what is the significance of static storage class specifier?
When is the “void” keyword used in a function?
What is the difference between fread and fwrite function?
what is the role you expect in software industry?
What is ponter?
Explain built-in function?
When can a far pointer be used?