Advertisement
MikecIT

Funkcije - 13.

Dec 7th, 2014
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.15 KB | None | 0 0
  1. int del(float x[], int *n, int ind)
  2. {
  3.     int i;
  4.     if(ind<0||ind>n-1) return 0;
  5.     (*n)--;
  6.     for(i=ind;i<*n;i++) x[i]=x[i+1];
  7.     return 1;
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement