what is the difference between NULL('\0') and 0?
Answer Posted / shani chaudhari
null(\0) is used for termination of string meance each and
every string ended with \0 while 0 is mostly related with
binary operations..null(\0) meance nothing but 0 has its own
value and existance. both are different
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
What is use of bit field?
Why we use break in c?
How do you determine the length of a string value that was stored in a variable?
Explain what is the best way to comment out a section of code that contains comments?
What is sizeof int?
When should you use a type cast?
Describe the header file and its usage in c programming?
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
Is swift based on c?
In C language, a variable name cannot contain?
Is register a keyword in c?
Explain the difference between malloc() and calloc() function?
write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3
Write a program to implement queue.
Can you think of a logic behind the game minesweeper.