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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between stdio h and conio h?

1327


How can I check whether a file exists? I want to warn the user if a requested input file is missing.

1087


a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor

1035


what is the basis for selection of arrays or pointers as data structure in a program

4252


What is typedef example?

1117


write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays

2188


What is the difference between array and pointer in c?

1092


Does * p ++ increment p or what it points to?

1057


What is modifier & how many types of modifiers available in c?

986


In C programming, what command or code can be used to determine if a number of odd or even?

992


Lists the benefits of c programming language?

1069


Explain what are multidimensional arrays?

1011


What is the scope of static variable in c?

946


What is c language & why it is used?

1037


Can include files be nested? How many levels deep can include files be nested?

1091