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 compilation steps? ( i want inside the compiler )
A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile
Write a c program to demonstrate Type casting in c?
Do variables need to be initialized?
how to set Nth bit of variable by using MACRO
ATM machine and railway reservation class/object diagram
The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none
What is the difference between fork() and vfork()?
What is the method to save data in stack data structure type?
How to draw the flowchart for structure programs?
How can I access memory located at a certain address?
What is the purpose of main( ) in c language?