printf("%s\t%s\t0%d-%d-%d\n", A[k].name, A[k].town, A[k].p_num.code, A[k].p_num.first, A[k].p_num.second);


이러면 됐을 것을