what is the difference b/w NULL and null?

Answers were Sorted based on User's Feedback



what is the difference b/w NULL and null?..

Answer / evalin jose

"null" means empty.And "NULL" means ,it values zero.

Is This Answer Correct ?    14 Yes 4 No

what is the difference b/w NULL and null?..

Answer / guest

In c language there is difference small alphabets that is
null and NULL capital alphabets ,it store nothing in a field

Is This Answer Correct ?    3 Yes 3 No

what is the difference b/w NULL and null?..

Answer / deepika

NULL------ It is a macro defined null pointer.
size(NULL)--->4 bytes

null------It is the name of the first character in ASCII character set. size(null)----->1 byte

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More C Interview Questions

What is the use of static variable in c?

0 Answers  


string reverse using recursion

0 Answers   Mind Tree,


struct abc { unsigned int a; char b; float r; }; struct xyz { int u; struct abc tt; }ww; ww = (struct xyz*)malloc(sizeof(struct xyz)); will the memory be allocated for the inner structure also?

1 Answers   Wipro,


What is #include in c?

0 Answers  


What does %d do?

0 Answers  






Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)

0 Answers  


What is difference between main and void main?

0 Answers  


write a program whose output will be- 1 12 123 1234

10 Answers  


Write an interactive c program that will encode or decode a line of text. To encode a line of text, proceed as follows: Convert each character, including blank spaces, to its ASCII equivalent. Generate a positive random integer. Add this integer to the ASCII equivalent of each character. The same random integer will be used for the entire line of text. Suppose that N1 represents the lowest permissible value in the ASCII code, and N2 represents the highest permissible value. If the number obtained in step 2 above exceeds N2, then subtract the largest possible multiple of N2 from this number, and add the remainder to N1. Hence the encoded number will always fall between N1 and N2, and will therefore always represent some ASCII character. Display the characters that correspond to the encoded ASCII values. The procedure is reversed when decoding a line of text. Be certain, however, that the same random number is used in decoding as was used in encoding.

1 Answers   Amazon, CSJM, HCL, Microsoft, TCS, Wipro,


What is a C array and illustrate the how is it different from a list.

1 Answers   Amazon,


What is the use of printf() and scanf() functions?

0 Answers  


what is d pitfalls of registers variables

3 Answers   TCS,


Categories