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/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
explain how do you use macro?
What is the -> in c?
write a program to produce the following output; ABCDEFGFEDCBA ABCDEF FEDCBA ABCDE EDCBA ABCD DCBA ABC CBA AB BA A A
17 Answers ABC, College School Exams Tests,
how to implement stack operation using singly linked list
what is difference between ++(*p) and (*p)++
17 Answers Accenture, HCL, IBM,
progrem to generate the following series 1 12 123 1234 12345
Write code for finding depth of tree
Write a program to reverse a string.
0 Answers Global Logic, iNautix, TCS, Wipro,
what is the difference between const volatile int i & volatile const int j;
What is the difference between ‘g’ and “g” in C?
proc() { static i=10; printf("%d",i); } If this proc() is called second time, what is the output?