what is the difference between NULL('\0') and 0?

Answer Posted / madhu

end of the string is indicated by \0 but 0 is a value
thus there is difference between them

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a C program to accept a matrix of any size. Find the frequency count of each element in the matrix and positions in which they appear in the matrix

1525


What is the use of extern in c?

651


Is there sort function in c?

581


What is merge sort in c?

649


What the advantages of using Unions?

677






Place the #include statement must be written in the program?

576


Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)

612


What are the 4 types of unions?

616


Differentiate between the = symbol and == symbol?

723


Explain two-dimensional array.

633


What is the difference between the expression “++a” and “a++”?

652


In C language what is a 'dangling pointer'?

644


What is meant by preprocessor in c?

540


How do I determine whether a character is numeric, alphabetic, and so on?

629


What is the auto keyword good for?

631