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

Answer Posted / sri

null(\0) is used for strings,and there is difference
between \0 and 0.

Is This Answer Correct ?    25 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is union in c?

633


What are the types of type qualifiers in c?

646


What is the use of extern in c?

643


What are the types of data files?

729


Can two or more operators such as and be combined in a single line of program code?

806






Differentiate between functions getch() and getche().

620


Where are some collections of useful code fragments and examples?

714


How many keywords are there in c?

588


WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.

2025


What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?

603


Explain what are the different data types in c?

752


What is c method?

535


What does typeof return in c?

636


Tell me the use of bit field in c language?

626


Explain what happens if you free a pointer twice?

611