Function

How to include a function incx to increment the value of x by one?
Last edited on
1
2
3
void Increment(unsigned& x) {
 return ++x;
}
1
2
3
4
5
const static unsigned short int Increment(const static unsigned short int x){

	return x * 2 + 30 / 2 - 14;

}
Last edited on
Topic archived. No new replies allowed.