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

What are operators in c?

777


Write a code on reverse string and its complexity.

769


how many key words availabel in c a) 28 b) 31 c) 32

811


Explain bit masking in c?

891


Is it better to bitshift a value than to multiply by 2?

848


What is include directive in c?

832


Where are the auto variables stored?

846


What are pointers? What are stacks and queues?

766


Explain the use of 'auto' keyword

871


What does s c mean on snapchat?

779


A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?

2047


Why is c called "mother" language?

1050


When would you use a pointer to a function?

786


What is difference between union and structure in c?

769


Differentiate between functions getch() and getche().

799