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 |
write a c program to find the probability of random numbers between 1-1000
Differentiate between new and malloc(), delete and free() ?
What is omp_num_threads?
What is dangling pointer in c?
Is c dynamically typed?
What does 3 mean in texting?
Why string is used in c?
What tq means in chat?
While compiling a c program,graphics header files are not including in my program..eg: <graphics.h>,what may be the problem...is there any environment settings exists.
What is gets() function?
What is the -> in c?
write a 'c' program to sum the number of integer values