Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- void ispis_preko_a(int *polje, int a, int d) {
- int i;
- for (i=0; i<d; i++) {
- if (polje[i]>a) printf("%d ",polje[i]);
- }
- }
- int main () {
- int niz[10]={3,7,12,54,23,6,2,89,8,9};
- ispis_preko_a(niz,5,10);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement