what is the difference between NULL('\0') and 0?
Answers were Sorted based on User's Feedback
Answer / siddhant
Null is used to terminate strings. It is a character constant..
0 is an integer constant. Its ASCII code is 48.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / 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 |
Answer / dushyant
null means nill nothing is there. zero means something is there but we dont know....
| Is This Answer Correct ? | 1 Yes | 8 No |
What is difference between function overloading and operator overloading?
4) Write a program that takes a 5 digit number and calculates 2 power that number and prints it. i have done maximum par but i m findind problem in the commented area. please help...
What is function and its example?
Why we use int main and void main?
while initialization of array why we use a[][2] why not a[2][]...?
How can I prevent another program from modifying part of a file that I am modifying?
What is a pointer and how it is initialized?
Can we declare variable anywhere in c?
What is hash table in c?
How is a pointer variable declared?
can u give me the good and very optimised code for a car racing game?
Where can I get an ansi-compatible lint?