Answer:
void doublelt(int *number)
{
*number=*number*2;
}
Explanation:
This exercise is for you to learn and understand the PASS BY POINTER syntax. The importance of this is that if you didnt use a pointer you would have to RETURN an int from the function. in that case the code would be:
int doublelt(int number)
{
number=number*2;
return number;
}
Passing by pointer manipulates the value by going inside the memory and where it resides. Without the pointer, the function would create COPIES of the argument you pass and delete them once the function ends. And you would have to use the RETURNED value only.
Honestly I don’t really know but I would bet it’s C++
Thats not a question but if you make it more specific and turn it into a question I will edit my response and answer your question!!