字符串处理函数的应用 — 计算机填空题
题目
阅读以下 C 程序,执行后输出____。
#include <stdio.h>
#include <string.h>
int main(void) {
char s[20] = "ab12cd";
char t[20] = "34ef56";
strncpy(s + 2, t + 2, 2);
strcat(s, t);
printf("%d", (int)(strstr(s, "ef56") - s));
return 0;
}