That I can't get. My instructor went over this last night and I'm trying to study up but apparently didn't save the program. Here is my code:
The elements within the array are not incrementing. I get 25 outputs, the first being A and 65 but then all zero's. What am I missing that is needed to increment the elements within the array?Code:#include <stdio.h> int main(void) { int alphabet[26] = {'A'}; int i = 0; for(i = 0;i < 25; i++) { printf ("%d\t%c\n", alphabet[i], alphabet[i]); alphabet[i]++; } return 0; }