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

write a program in c to print **** * * * * ****

1 Answers   TCS,


Evaluate the following: int fn(int v) { if(v==1 || v==0) return 1; if(v%2==0) return fn(v/2)+2; else return fn(v-1)+3; } for fn(7); 1) 10 2) 11 3) 1

6 Answers  


How to establish connection with oracle database software from c language?

0 Answers  


What is the difference between constant pointer and constant variable?

0 Answers   NIIT,


Explain do array subscripts always start with zero?

0 Answers  


What is the data segment that is followed by c?

0 Answers  


i want explaination about the program and its stack reprasetaion fibbo(int n) { if(n==1 or n==0) return n; else return fibbo(n-1)+fibbo(n-2); } main() { fibbo(6); }

2 Answers  


what is difference between userlevel threads and kernel level threads ?what are the trades offs between these two approaches ? what approach is most frequently used and why ?

1 Answers  


Hi can anyone tell what is a start up code?

0 Answers   CTS,


what are the languages used in c#?

3 Answers   Infosys,


What functions are used in dynamic memory allocation in c?

0 Answers  


write a C and C++ programme to implement the A,bubble sort B,quick sort C,insertion sort D,sequential search E,binary search

1 Answers   ADP, TCS,


Categories