Across
- 5. What is a reference in C/C++? A constant alias to another variable.
- 6. What is a stream used for? Managing input and output flow.
- 9. Why must you close a file? To save data and free system resources.
- 14. What happens when you dereference a pointer? You access the value at its address.
- 15. What does allocation mean? Reserving memory for use.
- 16. What does writing to a file do? Saves data to the file.
Down
- 1. What is a buffer used for? Temporarily holding data during I/O.
- 2. What does a pointer store? It stores a memory address.
- 3. What does an address represent? The location of data in memory.
- 4. What does dynamic memory refer to? Memory allocated at runtime.
- 7. What happens when you read a file? You retrieve data from it.
- 8. What do binary files store? Raw byte-level data.
- 10. Why must you open a file first? To establish access to it.
- 11. What does a null pointer indicate? It points to no valid memory.
- 12. Why is memory important for pointers? Pointers work directly with RAM locations.
- 13. What is a file in computing? A stored collection of data.
