#define MAXLINE 100是什么意思

#include <stdio.h>
#include <string.h>
#define MAXLINE 100
void encrypt(char *);
int main(void)
{
    char line[MAXLINE];
    
    printf("input the string:");
    gets(line);
    encrypt(line);
    printf("%s%s\n","after being encrypted:",line);
    return 0;
}

void encrypt (char*s)
{
    for(;*s!='\0';s++)
        if(*s=='z')
            *s = 'a';
        else
            *s = *s + 1;
}

第三行 #define MAXLINE 100是什么意思,有什么作用

#define MAXLINE 100 定义一个常量 MAXLINE, MAXLINE=100.

宏定义啊,MAXLINE就代表100