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 a macro, and explain how do you use it?

631


what does static variable mean?

657


what are the 10 different models of writing an addition program in C language?

1443


When should volatile modifier be used?

558


What is c language and why we use it?

626






What is LINKED LIST? How can you access the last element in a linked list?

636


can we change the default calling convention in c if yes than how.........?

2037


What is sorting in c plus plus?

568


Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.

1573


Explain the priority queues?

629


What is C language ?

1533


What is getche() function?

611


Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?

660


What is the difference between typedef and #define?

552


Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58

1123