what is diference between return 0 and return NULL??

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is identifiers in c with examples?

680


How is a pointer variable declared?

598


Write a program to reverse a linked list in c.

649


Why can’t constant values be used to define an array’s initial size?

840


What is the use of define in c?

602






Explain heap and queue.

591


What are the different types of errors?

648


can any one provide me the notes of data structure for ignou cs-62 paper

1708


What are identifiers in c?

640


What is structure in c definition?

579


Dont ansi function prototypes render lint obsolete?

612


How do I copy files?

627


2) Write a program that will help Air Traffic Control for an airport to view the sequence of flights ready for take-off. The airport can accommodate 10 flights waiting for take-off at any point in time. Each flight has a unique 3 digit numeric identifier.  Each time a flight takes-off, Air Traffic Control adds a flight to the waitlist. Each time a flight is added to the waitlist, the list of flights waiting to take-off must be displayed.  When a flight is cleared for take-off, Air Traffic Control removes the flight from the waitlist. Each time a flight takes-off, the list of flights waiting to take-off must be displayed.  Sequence of take-off is the sequence of addition to the waitlist

2523


What does double pointer mean in c?

584


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

2253