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 difference between function overloading and operator overloading?

0 Answers  


4) Write a program that takes a 5 digit number and calculates 2 power that number and prints it. i have done maximum par but i m findind problem in the commented area. please help...

3 Answers  


What is function and its example?

0 Answers  


Why we use int main and void main?

0 Answers  


while initialization of array why we use a[][2] why not a[2][]...?

0 Answers   Aptech,


How can I prevent another program from modifying part of a file that I am modifying?

0 Answers  


What is a pointer and how it is initialized?

0 Answers  


Can we declare variable anywhere in c?

0 Answers  


What is hash table in c?

0 Answers  


How is a pointer variable declared?

0 Answers  


can u give me the good and very optimised code for a car racing game?

0 Answers  


Where can I get an ansi-compatible lint?

0 Answers  


Categories