Answer
calculator calc;
Explanation
An object is an instance of a class. And a class is what defines or describes the behavior or the state of the object of its type. When a class is defined no memory is allocated until when an object is created memory is allocated.
Answer:
Advantages include;
1. It would take up less space.
2. Programs may require far less memory to run.
3. Less power wastage
Explanation:
Advantages include;
1. It would take up less space.
2. Programs may require far less memory to run.
3. Less power wastage
There are two common types for data access or retrieval
1. Sequential access is the main access mode only in batch systems, whereas files are used and updated at regular intervals.
2. Direct access - on-line processing requires direct access, whereby a record can be accessed without accessing the records between it and beginning of the file.
Answer:
See Explanation
Explanation:
Required
Complete the given code
First, it should be noted that the original code (in the question) is complete, however it is poorly formatted.
The errors that may arise when the code is run is as a result of the poor format of the code.
I've corrected all errors and I fixed the indentations in the original code.
<em>See attachment for the complete code.</em>
it's either C or D I am pretty sure that the answer is D