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 & NUL keywords in C?

Answer Posted / abhijit

NULL is a macro defined in <stddef.h> for the null pointer.
<br>NUL is the name of the first character in the ASCII
character set. It corresponds to a zero value. There?s no
<br>standard macro NUL in C, but some people like to define
it. <br>The digit 0 corresponds to a value of 80, decimal.
Don?t confuse the digit 0 with the value of ?? (NUL)!
<br>NULL can be defined as ((void*)0), NUL as ??. <br>

? NewInterviewQuestions.com

Is This Answer Correct ?    17 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you mix old-style and new-style function syntax?

1100


What is the difference between new and malloc functions?

1131


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

1054


What is meant by 'bit masking'?

1390


Why is struct padding needed?

1087


What is %lu in c?

1257


Is c is a high level language?

1192


What is main () in c?

1071


Are bit fields portable?

1159


What the different types of arrays in c?

1069


What is array within structure?

1122


Differentiate between a structure and a union.

1290


Is there any possibility to create customized header file with c programming language?

1065


What is function what are the types of function?

998


What language is c written?

1049