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 difference between array and structure in c?
What is pre-emptive data structure and explain it with example?
How can a program be made to print the line number where an error occurs?
Write a C program linear.c that creates a sequence of
processes with a given length. By
sequence it is meant that each created process has exactly
one child.
Let's look at some example outputs for the program.
Here the entire process sequence consists of process 18181:
Sara@dell:~/OSSS$ ./linear 1
Creating process sequence of length 1.
18181 begins the sequence.
An example for a sequence of length three:
Sara@dell:~/OSSS$ ./linear 3
Creating process sequence of length 3.
18233 begins the sequence.
18234 is child of 18233
18235 is child of 18234
........ this is coad .... BUt i could not compleate it .....:(
#include
Explain argument and its types.
How can I remove the trailing spaces from a string?
What is the most efficient way to count the number of bits which are set in an integer?
What is getche() function?
Can we add pointers together?
What is calloc malloc realloc in c?
a construct the"else" part of "if" statement contains anoth "if else" statement is called a) if-else b) else-if-else c) if-else-if-else d) chain if/if-else-if
Explain what are run-time errors?
What is the difference between int main and void main?
i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none
Explain goto?