摘要:
展讯笔试题目:1.给出字符串pszBuff,将其全部转化为大写,a转化为A#include #include #include char *convert(const char* dest){ int ilen=0; char *tmp=(char *)dest; char *str; //strcpy(str,dest); while(*dest++) ilen++; str = (char *)malloc(ilen); while(*tmp) { if ( (*tmp>'a') && (*tmp maxlen) { maxlen = count; *
阅读全文
posted @ 2013-10-23 15:33
-赶鸭子上架-
阅读(630)
推荐(0)
编辑