Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int tel_voorwaarde(const char *s[],void(*func)(const void*c){
- int tel=0;
- char**p;
- p=s;
- int grootte=sizeof(s)/sizeof(*s);
- while((bool)func(*p)&&grootte<(s-p)){
- p++;
- }
- if(!(grootte<(s-p)))int tel+=tel_voorwaarde(p,func);
- return tel;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement