#include <stdio.h>
void print_str(char **pps,int cnt);
int main(void)
{
char *ptr_ary[]={"eagle", "tiger","lion","squirrel"};
int count;
count=sizeof(ptr_ary)/sizeof(ptr_ary[0]);
print_str(ptr_ary,count);
return 0;
}
void print_str(char **pps,int cnt)
{
int i;
for(i=0;i<cnt;i++)
{
}
}
I2luY2x1ZGUgPHN0ZGlvLmg+CnZvaWQgcHJpbnRfc3RyKGNoYXIgKipwcHMsaW50IGNudCk7CgoKaW50IG1haW4odm9pZCkKewoJY2hhciAqcHRyX2FyeVtdPXsiZWFnbGUiLCAidGlnZXIiLCJsaW9uIiwic3F1aXJyZWwifTsKCWludCBjb3VudDsKCQoJY291bnQ9c2l6ZW9mKHB0cl9hcnkpL3NpemVvZihwdHJfYXJ5WzBdKTsKCXByaW50X3N0cihwdHJfYXJ5LGNvdW50KTsKCQoJcmV0dXJuIDA7Cn0KCnZvaWQgcHJpbnRfc3RyKGNoYXIgKipwcHMsaW50IGNudCkKewoJaW50IGk7CgkKCWZvcihpPTA7aTxjbnQ7aSsrKQoJewoJCXByaW50ZigiJXNcbiIscHBzW2ldKTsKCX0KfQo=