PROGRAMMING:Output alphabet - array traversal
Analyze the following code to understand array traversal.
```
#include
int main(){
char c[26],i;
for(i=0; i<26; i++)
c[i]='A'+i;;
for(i=0; i<26; i++){
if(i>0) printf(" ");
printf("%c%c",c[i],c[i]+32);
}
return 0;
}
```
###Input example:
```in
```
###Output example:
```out
Aa Bb Cc Dd Ee Ff Gg Hh Ii Jj Kk Ll Mm Nn Oo Pp Qq Rr Ss Tt Uu Vv Ww Xx Yy Zz
```
answer:If there is no answer, please comment
```
#include
int main(){
char c[26],i;
for(i=0; i<26; i++)
c[i]='A'+i;;
for(i=0; i<26; i++){
if(i>0) printf(" ");
printf("%c%c",c[i],c[i]+32);
}
return 0;
}
```
###Input example:
```in
```
###Output example:
```out
Aa Bb Cc Dd Ee Ff Gg Hh Ii Jj Kk Ll Mm Nn Oo Pp Qq Rr Ss Tt Uu Vv Ww Xx Yy Zz
```
answer:If there is no answer, please comment