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
No Answer is Posted For this Question
Be the First to Post Answer
Why is struct padding needed?
How are strings stored in c?
Explain how can you tell whether two strings are the same?
Program to find largest of three numbers without using comparsion operator?
what is the output of the following program? main() { int i=-1,j=-1,k=0,l=2,m; m=i++&&j++&&k++||l++; printf("%d %d %d %d %d",i,j,k,l,m); }
What is the time and space complexities of merge sort and when is it preferred over quick sort?
enum DAY { sunday, monday, tuesday }; enum EDAYS { friday, saturday, sunday }; void main() { int i =0; if( i == sunday) { printf("%d",i); } } what would be the output?
How can I invoke another program or command and trap its output?
In which language linux is written?
Explain void pointer?
Write a program to swap two numbers without using the third variable?
What does the && operator do in a program code?