Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include"esercizio_1.h"
- #include<string.h>
- float*maxDispari(float*a,float*b,int c,int d){for(float*e=(!c)?0:((float*)memcpy(malloc(c*sizeof(float)),a,c*sizeof(float))),*f=e,*g=e+1;(g=(float*)(((e-f)<((c<d)?c:d))?2:1))&&(a++,b++,e++);*e=((*a>*b)?*a:*b),a++,b++,e++){if(g==(float*)1)return f;}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement