|
|
1.1 root 1: char *base[] = {"1234567890" , "123456*890", "?234567890", "123456789*"};
2:
3: main()
4: {
5: int i;
6:
7: for (i=0; i<4; i++)
8: printf("strcspn(%s, \"*?\") = %d, strlen(%s) = %d\n", base[i],
9: strcspn(base[i], "*?"), base[i], strlen(base[i]));
10: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.