Ask Question

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

+4
Answers (1)
  1. 12 April, 11:38
    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?
Find 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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers