You can make use of pointers to achieve this.
void add( int *a, int *b){
(*a) += (*b);
}
Now if two numbers a and b are given and you need to store the value in variable c, then you would perform:
c = a;
add(&c,&b);
Copyright © 2026 eLLeNow.com All Rights Reserved.