Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is the difference between NULL('\0') and 0?

Answers were Sorted based on User's Feedback



what is the difference between NULL('\0') and 0?..

Answer / siddhant

Null is used to terminate strings. It is a character constant..
0 is an integer constant. Its ASCII code is 48.

Is This Answer Correct ?    0 Yes 0 No

what is the difference between NULL('\0') and 0?..

Answer / karen

If the question is asking what is the difference between
char x = '\0' and char x = 0, the answer is there is no
difference. This is why you can use memset or zeromemory to
flush out an empty character array.

Is This Answer Correct ?    3 Yes 5 No

what is the difference between NULL('\0') and 0?..

Answer / prasad

null set always knwn as zero

Is This Answer Correct ?    3 Yes 10 No

what is the difference between NULL('\0') and 0?..

Answer / dushyant

null means nill nothing is there. zero means something is there but we dont know....

Is This Answer Correct ?    1 Yes 8 No

Post New Answer

More C Interview Questions

What is dynamic memory allocation?

0 Answers  


How many bytes are occupied by near, far and huge pointers (dos)?

0 Answers  


What are the salient features of c languages?

0 Answers  


What is conio h in c?

0 Answers  


array of pointer pointer to array pointer to pointer

1 Answers   MAHINDRA,


Write a program to exchange two variaables without temp

9 Answers   Geometric Software,


Why is c so powerful?

0 Answers  


What is a void pointer in c?

0 Answers  


what is the advantage of using SEMAPHORES to ORDINARY VARIABLES???

2 Answers   NSN,


How can you print HELLO WORLD without using "semicolon"?

7 Answers   HCL, Infosys,


Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?

0 Answers  


write an algorithm to display a square matrix.

0 Answers  


Categories