what is difference between ++(*p) and (*p)++
Answer Posted / sonal
++(*p) it will increase pointer value to one value
(*p)++ will refer to next memory location
| Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
Give basis knowledge of web designing ...
formula to convert 2500mmh2o into m3/hr
Why is c so powerful?
How can I open a file so that other programs can update it at the same time?
#include
What is indirection?
how to capitalise first letter of each word in a given string?
What is switch in c?
Explain what is the benefit of using const for declaring constants?
What is type qualifiers?
How main function is called in c?
Where are the auto variables stored?
Why header file is used in c?
to find the closest pair
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