Advertisement
MikecIT

Funkcije - 9.

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