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

Post New Answer

More C Interview Questions

program for following output using for loop? 1 2 3 4 5 2 3 4 5 3 4 5 4 5 5

8 Answers   Infosys,


Calculate 1*2*3*____*n using recursive function??

0 Answers  


Find the highest of three numbers and print them using ascending orders?

1 Answers  


To what value are pointers initialized? 1) NULL 2) Newly allocated memory 3) No action is taken by the compiler to initialize pointers.

4 Answers   Aricent,


What are the advantages of using linked list for tree construction?

0 Answers  






How do you sort filenames in a directory?

0 Answers  


What does node * mean?

0 Answers  


What is atoi and atof in c?

0 Answers  


without using control structures and control structures find the max and min of given 2 nos

1 Answers   HCL,


Where static variables are stored in c?

0 Answers  


find largest element in array w/o using sorting techniques.

3 Answers   Zycus Infotech,


in b=6.6/a+(2*a+(3*c)/a*d)/(2/n); which operation will be performed first a) 6.6/a b) 2*a c) 3*c d) 2/n

1 Answers  


Categories