by Dinesh Thakur

 

 

#include<ctype.h>

#include<stdio.h>
#include<conio.h>
void main()
{
char ch;
for(;;)
{
ch = getchar();
if(isspace(ch)) printf("%c is white space\n", ch);
if(ch = I.') break;
}
getch();
}
 
OUTPUT:
(Press spacebar)
is white space