In which area global, external variables are stored?
Answer Posted / mrinal
The global or external variables are stored on the HEAP.
| Is This Answer Correct ? | 2 Yes | 7 No |
Post New Answer View All Answers
When should a far pointer be used?
Is main is user defined function?
Does c have enums?
find the sum of two matrices and WAP for it.
Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.
What is preprocessor with example?
Why static is used in c?
What does the function toupper() do?
What is the size of structure pointer in c?
What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?
Difference between macros and inline functions? Can a function be forced as inline?
what is the height of tree if leaf node is at level 3. please explain
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
what is a constant pointer in C
How macro execution is faster than function ?