|  
	 范例: 
	/* 判断str字符串中哪些为可打印字符*/ 
	#include<ctype.h> 
	main() 
	{ 
	char str[]="a5 @;"; 
	int i; 
	for(i=0;str[i]!=0;i++) 
	if(isgraph(str[i])) printf("str[%d] is printable 
	character:%d\n",i,str[i]); 
	} 
	执行 str[0] is printable character:a 
	str[1] is printable character:5 
	str[3] is printable character:@ 
	str[4] is printable character:;  |