#include<string.h>
#include<limits.h>
#include<float.h>
#include<stdio.h>
#pragma warning(disable : 4996)
using namespace std;
#define LEN 26
int main() {
int i = 0;
char letters[LEN];
for ( i = 0; i < LEN; i++)
{
letters[i] = 'A' + i;
}
printf("Here are %d letters\n", LEN);
for ( i = 0; i < LEN; i++)
{
printf("%c\t", letters[i]);
}
return 0;
}
标签:26,letters,int,字母,LEN,数组,printf,include From: https://www.cnblogs.com/wang-xiao-shuai/p/16798878.html