what is diference between return 0 and return NULL??

Answer Posted / bajishareef

o is the value oriented decimal constant which is of integer type.
Where as NULL is the address oriented empty value.
Both are not equal

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to write c functions that modify head pointer of a linked list?

548


Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?

602


Explain how do you override a defined macro?

593


When I tried to go into a security sites I am denied access and a message appeared saying 'applet not initialize'. How can I rectify this problem.

1536


Why is python slower than c?

611






What is void pointers in c?

596


how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?

1501


What is a structure and why it is used?

623


What is exit() function?

565


Can you add pointers together? Why would you?

651


Explain what is a const pointer?

643


define string ?

672


What is d scanf?

599


GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA

1433


What is a function simple definition?

625