what is the difference between NULL('\0') and 0?
Answer Posted / karen
If the question is asking what is the difference between
char x = '\0' and char x = 0, the answer is there is no
difference. This is why you can use memset or zeromemory to
flush out an empty character array.
| Is This Answer Correct ? | 3 Yes | 5 No |
Post New Answer View All Answers
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
What are pragmas and what are they good for?
Why do we use int main instead of void main in c?
What is structure packing in c?
Write a program to print factorial of given number without using recursion?
What are the string functions? List some string functions available in c.
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
Explain what does the function toupper() do?
What is a floating point in c?
How can you draw circles in C?
What is array of pointers to string?
What is file in c preprocessor?
What are the parts of c program?
What is a function in c?
What is the difference between fread and fwrite function?