what is diference between return 0 and return NULL??

Answer Posted / dips

return 0 is indicatiion of successsfull completetion of
programme generally we write return 0 for that purpose
return null its returnig nothing in some condition we may
dont require to return any value

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a memory leak? How to avoid it?

580


What is wrong with this initialization?

597


Place the #include statement must be written in the program?

576


What is ctrl c called?

601


please give me some tips for the placement in the TCS.

1638






What is size of union in c?

585


What is the purpose of the preprocessor directive error?

687


What are the functions to open and close the file in c language?

597


Can a pointer point to null?

594


What are the 5 types of organizational structures?

554


What are identifiers in c?

639


How are portions of a program disabled in demo versions?

757


What are the data types present in c?

631


What is meant by int main ()?

723


Is the exit() function same as the return statement? Explain.

668