あと、こう書いた方がいいよ
const char alphabet[] = "abcdefghijklmnopqrstuvwxyz";
もしくは
const char *alphabet = "abcdefghijklmnopqrstuvwxyz";