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
C program to read the integer and calculate sum and average using single dimensional array
what is array?
How would you sort a linked list?
How to swap two values using a single variable ? condition: Not to use Array and Pointer ?
what is the little endian and big endian?
What is the most efficient way to store flag values?
Are negative numbers true in c?
b) 4 c) 6 d) 7 32. Any C program a) must contain at least one function b) need not contain ant function c) needs input data d) none of the above 33. Using goto inside for loop is equivalent to using a) continue b) break c) return d)none of the above 34. The program fragment int a=5, b=2; printf(“%d”,a+++++b); a) prints 7 b)prints 8 c) prints 9 d)none of the above 35. printf(“ab” , “cd”,”ef”); prints a) ab abcdef c) abcdef, followed by garbage value d) none of the above 36. Consider the following program segment. i=6720; j=4; while((i%j)==0) { i=i/j; j=j+1; } On termination j will have the value a) 4 b) 8 c) 9 d) 6720
How to write a code for implementing my own printf() and scanf().... Please hep me in this... I need a guidance... Can you give an coding for c... Please also explain about the header files used other than #include<stdio.h>...
Write a C Programm.. we press 'a' , it shows the albhabetical number is 1, if we press 'g' it shows the answer 7.. any can help me
I use turbo C which allocates 2 bytes for integers and 4 bytes for long. I tried to declare array of size 500000 of long type using the following code... long *arr; arr=(long *)(malloc)(500000 * sizeof(long)); It gives a warning that "Conversion may lose significant digits in function main"... And the resulting array size was very less around 8400 as compared to 500000. Any suggestions will be welcomed....
What is #include stdlib h?