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 |
How to convert a binary number to Hexa decimal number?? (Note:Do not convert it into binary and to Hexadecimal)
WHAT IS HIGH LEVEL LANGUAGE?
what is the output for this question: main() { int i=1; printf("%d%d%d",i,i++,++i); }
Explain what is the benefit of using an enum rather than a #define constant?
Write a c program using for loop to print typical pattern if number of rows is entered by keyboard. ABCBA AB BA A A
How to convert decimal to binary in C using recursion??
how to swap two nubers by using a function with pointers?
Dear Sir, we are required the bubble sorting programs Regs Prem
Is the below things valid & where it will be stored in memory layout ? static const volatile int i; register struct { } ; static register;
Is it possible to have a function as a parameter in another function?
What is #line?
How do you convert strings to numbers in C?