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 |
why effort estimation is important?
main() { int i = 1; int num[] = {1,2,3,4}; num[i] = i++; printf("%d", num[i]); } what will be the output? }
22 Answers NDS, TCS,
How to write c functions that modify head pointer of a linked list?
64/square(4)
What are preprocessor directives in c?
what is C?
WHAT IS INT?
Explain how can you restore a redirected standard stream?
Expand the following LKB BKL FFG
How can you convert integers to binary or hexadecimal?
How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?
Explain output of printf("Hello World"-'A'+'B'); ?