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 |
hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?
What are the standard predefined macros?
how to find out the union of two character arrays?
Write a c program to enter a string of paragraph and replacing a particular word which is repeated in the paragraph by another word?
2 Answers ME, Synfusion, Wipro,
Explain modulus operator. What are the restrictions of a modulus operator?
What is a structure member in c?
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
Is null equal to 0 in sql?
code for inverse a matrix
what value is returned to operating system after program execution?
write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?
Write a C Programm.. we press 'a' , it shows the albhabetical number is 1, if we press 'g' it shows the answer 7.. any can help me