C語言isalpha函式介紹
阿新 • 來源:網路 • 發佈:2021-02-15
技術標籤:c
isalpha()語法:
標頭檔案:#include <ctype.h>
函式宣告:
int isalpha(int c);
功能:如果引數是字母字元,函式返回非零值,否則返回零值。
程式碼演示:
#include <stdio.h>
#include <ctype.h>
int main()
{
printf("isalpha('A')=%d\n",isalpha('A'));
return 0;
}

