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

Explain Basic concepts of C language?

640


What is self-referential structure in c programming?

654


Explain how can you tell whether a program was compiled using c versus c++?

571


What is indirection?

645


What is scope of variable in c?

555






How are portions of a program disabled in demo versions?

744


What is printf () in c?

576


Are the expressions * ptr ++ and ++ * ptr same?

663


Why do we need arrays in c?

577


explain what is a newline escape sequence?

681


What is pragma c?

607


Why is c not oop?

533


How do you define a function?

579


What is a global variable in c?

587


How to write a code for implementing my own printf() and scanf().... Please hep me in this... I need a guidance... Can you give an coding for c... Please also explain about the header files used other than #include...

4900