Last active
August 29, 2015 14:00
-
-
Save cvsync/10ed2118ca5fde90cc7f to your computer and use it in GitHub Desktop.
Which value is returned by isalpha() ?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Which value is returned by isalpha() ? by M-Systems, Inc. | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <ctype.h> | |
int | |
main(void) | |
{ | |
int c, i; | |
for (i = 0 ; i < 26 ; i++) { | |
c = 'a' + i; | |
(void)printf("%d\n", isalpha(c)); | |
} | |
exit(EXIT_SUCCESS); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment