Loading...
Select Version
&pagelevel(4)&pagelevel
Definition | #include <ctype.h> int isgraph(int c);
| ||
Return val. |
0 | c is printable and not a space. c is non-printable or space. | |
Note |
| ||
Example | #include <ctype.h> #include <stdio.h> int main(void) { int c; while((c = getchar()) != EOF) printf("%s : %c\n",((isgraph(c))? "Character" : "Cannot print"), c); return 0; } | ||
See also | isalnum, isascii, iscntrl, isdigit, islower, isalpha, ispunct, isprint, isspace, isupper, isxdigit, |