UNIT 4: POINTERS AND FILE HANDLING

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