what is difference between null and nul in c language

Answers were Sorted based on User's Feedback



what is difference between null and nul in c language..

Answer / xsoft

null this is a key word in C language but the nul this
keyword used in dos Programming as you can you use it in C
programming with the function system("dir ./a>nul");
then when can consider this nul as an output.

Is This Answer Correct ?    1 Yes 1 No

what is difference between null and nul in c language..

Answer / 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

More C Interview Questions

Design a program using an array that lists even numbers and odd numbers separately from the 12 numbers supplied by a user.

8 Answers  


What are 3 types of structures?

0 Answers  


int a=2,b=3,c=4; printf("a=%d,b=%d\n",a,b,c); what is the o/p?

6 Answers   Verifone,


What is .obj file in c?

0 Answers  


Is sizeof a keyword in c?

0 Answers  






What is the meaning of typedef struct in c?

0 Answers  


write the program for maximum of the following numbers? 122,198,290,71,143,325,98

5 Answers  


Explain how can you tell whether a program was compiled using c versus c++?

0 Answers  


Why C language is a procedural language?

0 Answers   Ericsson,


What are the Advantages of using macro

0 Answers  


what is the return value (status code) of exit() function.... what the arguments(integer value) passed to it means....

1 Answers   TCS,


What are the advantages of union?

0 Answers  


Categories