alphabet version 2
Second answer… again, there is no typo, this is the pure transcript of the candidate’s answer.
main(argc, argv[]) { int i = 0; char a[26] = { 'a', 'b', 'c', ...'z'} for (i = 0; i <=26; i++) { printf("%d/n", a[i]%); } return; }
Download this code: alphabet_2.c
With this question, I’m realizing that array usage in C, is clearly not clear for everyone.
You might like this one :
http://worsethanfailure.com/Articles/Fd-Factorial.aspx