Write a function called addOne that adds 1 to its integer reference parameter. The function returns nothing, but change the value of the reference parameter permanently. And write the call statement, outside of the function, which shows using a variable (you give it a name) as the argument.
#include <iostream>
using namespace std;
void addOne(int &n){
n = n + 1;
}
int main(){
int n = 5;
addOne(n);
cout<<"n = "<<n<<endl;
return 0;
}

n = 6

Write a function called addOne that adds 1 to its integer reference parameter. The function returns...