怎么把数字转为ASCII码啊
#include <stdio.h> #include <stdlib.h>
#define M 4
#define N 4
int main(void)
{
int i = 0, j = 0;
int Arr[M][N] = { { 0 } };
srand(time(NULL));
for (i = 0; i < M; ++i)
{
for (j = 0; j < N; ++j)
{
Arr[i][j] = rand() % 10;
}
}
printf("Array[%d][%d] is: \n", M, N);
for (i = 0; i < M; ++i)
{
for (j = 0; j < N; ++j)
{
printf("%d\t", Arr[i][j]);
}
printf("\n");
}
return 0;
}