Answer Posted / dhaval patel
An Array is a collection of variables of the same type that
are refered to through a common name.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How does selection sort work in c?
how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software
what is the diffrenet bettwen HTTP and internet protocol
What is main function in c?
What is the difference between array and linked list in c?
When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd
Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?
Explain continue keyword in c
program for reversing a selected line word by word when multiple lines are given without using strrev
Can you please explain the difference between malloc() and calloc() function?
why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above
Do you know pointer in c?
What is function pointer c?
Does sprintf put null character?
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