Programming
Python
R
Java
C
C++
C#
WEB
HTML
CSS
JavaScript
BootStrap4
jQuery
SVG
MORE
Examples1
Python
GO
R
Java
C
C++
C#
Examples2
Python
R
Java
C
C++
C#
HTML
CSS
JavaScript
BootStrap4
jQuery
SVG
Seo Tools
Code Minifier
Code Beautifier
Language Compiler
Misc Tools
File Converter
References
C
C++
Python
Java
PHP
JavaScript
Examples
Python
R
Java
C
C++
C#
HTML
CSS
JavaScript
BootStrap4
jQuery
SVG
Home
About
Contact
JetPack
Multi Themes-->>
Code it ALL
Scroll TOP
isspace() - ctype.h in c - CodeGK
Δ C References
string.h
strcat()
strcmp()
strcpy()
strlen()
math.h
acos()
acosh()
asin()
asinh()
atan()
atan2()
atanh()
cbrt()
ceil()
cos()
cosh()
exp()
fabs()
floor()
hypot()
log()
log10()
pow()
sin()
sinh()
sqrt()
tan()
tanh()
ctype.h
isalnum()
isalpha()
iscntrl()
isdigit()
isgraph()
islower()
isprint()
ispunct()
isspace()
isupper()
isxdigit()
tolower()
toupper()
♦ isspace() - ctype.h
♣ Example1: isspace()
Input:
Run CODE
Reload Code
Copy Code
#include
#include
char main() { char c1 = ' '; int r1 = isspace(c1); printf("%d\n", r1); char c2 = '\b'; int r2 = isspace(c2); printf("%d\n", r2); char c3 = ';'; int r3 = isspace(c3); printf("%d\n", r3); char c4 = '\t'; int r4 = isspace(c4); printf("%d\n", r4); return 'm'; }
Output: