Write the header for a function addOne that accepts a single integer reference parameter and returns nothing. Name the parameter x.

Write the header for a function addOne that accepts a single integer reference parameter and returns nothing. Name the parameter x.

LANGUAGE: C++

CHALLENGE:

Write the header for a function addOne that accepts a single integer reference parameter and returns nothing. Name the parameter x.

SOLUTION:


void addOne(int &x)

Add comment