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

a 'c' program to tell that the set of three coordinates lie on a same line

3 Answers   Persistent,


what is difference between strcmp & palindrome?

3 Answers  


write a program to convert a expression in polish notation (postfix) to inline (normal)

0 Answers   Siemens,


What is the main difference between calloc () and malloc ()?

0 Answers  


Is multithreading possible in c?

0 Answers  






How to implement a packet in C

0 Answers   Aricent,


What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?

0 Answers  


main() { int a[3][4] ={1,2,3,4,5,6,7,8,9,10,11,12} ; int i, j , k=99 ; for(i=0;i<3;i++) for(j=0;j<4;j++) if(a[i][j] < k) k = a[i][j]; printf("%d", k); }

4 Answers   Vector, Wipro, Zoho,


main() {char a[10]={1,2,3,4,5,6};int x; for(x=0;x<4;x++){ b[x]=x+'a';} printf("%s",b);}

3 Answers  


I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.

0 Answers  


Describe advantages and disadvantages of the various stock sorting algorithms

1 Answers   Microsoft,


What is the difference between ++a and a++?

0 Answers  


Categories