define function

Answer Posted / nirmal super star

a fns. is set of instructions that perform a specifide task
which repeatedly occurs in main prgm. .

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a

1459


What are the differences between new and malloc in C?

618


cavium networks written test pattern ..

3605


the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none

656


‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.

1887






Explain how do you list a file’s date and time?

628


Which header file should you include if you are to develop a function which can accept variable number of arguments?

820


How do you print only part of a string?

622


Why is python slower than c?

619


What is a union?

619


What is the difference between procedural and functional programming?

530


What are the header files used in c language?

599


What is the difference between exit() and _exit() function in c?

594


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

2527


What is a pointer on a pointer in c programming language?

629