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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is anything faster than c?

995


How do you determine a file’s attributes?

1068


If the size of int data type is two bytes, what is the range of signed int data type?

1011


What are shell structures used for?

1026


Explain what is the benefit of using enum to declare a constant?

1061


main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none

1340


Explain enumerated types.

1014


What do you mean by a sequential access file?

1064


Differentiate between functions getch() and getche().

1026


What is null in c?

1072


How can I handle floating-point exceptions gracefully?

1155


What are the two forms of #include directive?

1145


What are the complete rules for header file searching?

1063


What is the difference between declaring a variable and defining a variable?

1250


Write a program to print fibonacci series without using recursion?

1110