what is difference between null and nul in c language

Answer Posted / amar singh rajput

NULL is an pointer with value zero (0) ,and NUL is an character with integer value 0 (zero) .

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of in c?

775


Why dont c comments nest?

852


Write a program to print all permutations of a given string.

959


What is structure and union in c?

846


Compare and contrast compilers from interpreters.

929


What is the scope of static variable in c?

741


how to count no of words,characters,lines in a paragraph.

4173


What is the newline escape sequence?

858


What is the purpose of 'register' keyword in c language?

836


Why main is not a keyword in c?

927


What will the code below print when it is executed?   int x = 3, y = 4;         if (x = 4)                 y = 5;         else                 y = 2;         printf ("x=%d, y=%d ",x,y);

1603


What is pivot in c?

778


Explain what does the function toupper() do?

847


What is the use of getchar functions?

954


Explain how does flowchart help in writing a program?

893