what is difference between null and nul in c language
Answers were Sorted based on User's Feedback
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 |
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 |
What is the meaning of ?
what is the difference between call by value and call by reference?
5 Answers Genpact, Global Logic, Infosys,
Explain what does a function declared as pascal do differently?
main() { enum{red,green,blue=6,white}; pf("%d%d%d%d", red,green,blue,white); return 0; } a)0 1 6 2 b)0 1 6 7 c)Compilation error d)None of the above
If "AaBbCc" is passed to the char char x(*a) { a[0]?x(a+1):1; printf("%c",a[0]); return 1; } what will be the output?
Explain what is a stream?
Explain how can you determine the size of an allocated portion of memory?
int main() { int i=1; switch(i) { case '1': printf("hello"); break; case 1: printf("Hi"); break; case 49: printf("Good Morning"); break; } return 0; }
What is an auto keyword in c?
Why is it important to memset a variable, immediately after allocating memory to it ?
write a c program for swapping two strings using pointer
What is the difference between variable declaration and variable definition in c?