Ask Question
1 July, 14:48

Write a function addone that adds 1 to its integer reference parameter. the function returns nothing. submit

+5
Answers (1)
  1. 1 July, 15:23
    0
    Void addone (int &n) { n++; }

    This would do the trick in C++, assuming that's what you're looking for.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Write a function addone that adds 1 to its integer reference parameter. the function returns nothing. submit ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers