SHARE
TWEET

Untitled

a guest Dec 9th, 2019 89 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void incrementElements(int A[], int n){
  2.     for(int i = 0; i < n; i++)
  3.         A[i]++;
  4. }
  5.  
  6. int main(){
  7.     int someArray[5] = {1, 2, 3, 4 ,5};
  8.     incrementElements(someArray, 5);
  9. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top