what is diference between return 0 and return NULL??
Answers were Sorted based on User's Feedback
Answer / sourabh
return 0 means the function returns the particular value 0
returnn null means the function does not return any value'
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / 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 |
Answer / 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 |
What are the types of i/o functions?
what is volatile in c language?
9 Answers Cap Gemini, HCL, Honeywell, TCS, Tech Mahindra,
What are the complete rules for header file searching?
how to find the binary of a number?
What is the proper way of these job Tell me about there full work
What is main return c?
What is key word in c language?
Between macros and functions,which is better to use and why?
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
How would you obtain the current time and difference between two times?
What does c in a circle mean?
what will be the output of this program........ main() { int a=2,b=4,c=6; printf("%d"); } why it gives the value of third variable.