The same thing as if you do it once
Solution:
It is done by Operating system.
An Operating system is system software that manages computer hardware and software resources and provides common services for computer programs.
Time-sharing operating systems schedule tasks for efficient use of the system and may also include accounting software for cost allocation of processor time, mass storage, printing, and other resources.
For hardware functions such as input and output and memory allocation, the operating system acts as an intermediary between programs and the computer hardware, although the application code is usually executed directly by the hardware and frequently makes system calls to an OS function or is interrupted by it. Operating systems are found on many devices that contain a computer – from cellular phones and video game consoles to web servers and supercomputers.
Answer:
#include <iostream>
using namespace std;
int cube(int num)//function cube..
{
return num*num*num;
}
int main() {
int result=cube(4);//result stores the value of cube(4).
cout<<result;//displaying it to the screen.
return 0;
}
Explanation:
The above code is in C++ language.The function cube is passed with value 4 and the result of it is stored in the variable result of integer type.Then the result is displayed using the cout. Which is used to print the statement to the output screen.
Because you use technology to do science