what is diference between return 0 and return NULL??

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you check to see whether a symbol is defined?

592


What are the benefits of organizational structure?

574


What is the difference between memcpy and memmove?

605


List some of the static data structures in C?

762


What is the use of function overloading in C?

679






Why enum is used in c?

524


The process of repeatedly running a set of computer instructions until some condition is specifed a) condition b) sequential condition c) global d) iteration

636


What is the difference between declaring a variable and defining a variable?

724


Write a program with dynamically allocation of variable.

606


Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings

2251


What is data structure in c programming?

574


What are the various types of control structures in programming?

630


What is the advantage of c?

611


What is a wrapper function in c?

590


How old is c programming language?

581