what is the difference between NULL & NUL keywords in C?
Answer Posted / shriku322
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 |
Post New Answer View All Answers
What is meant by inheritance?
How do I convert a string to all upper or lower case?
Explain what are global variables and explain how do you declare them?
Where does the name "C" come from, anyway?
WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.
Is c compiled or interpreted?
5 Write an Algorithm to find the maximum and minimum items in a set of ānā element.
What is the newline escape sequence?
which is an algorithm for sorting in a growing Lexicographic order
In which language linux is written?
What do you mean by keywords in c?
What is the difference between c and python?
What are 'near' and 'far' pointers?
Differentiate between functions getch() and getche().
Iam a B.Tech graduate and completed my engineering in 2009, from 2005 to 2009 and after that i had done nothing.Now i want to do job and get into BPO field . Friends give me suggestions as what to say in interview... if they ask me that what would you had done ... these many years without doing job ??????? pls urgent