c程题目求解答516.编写函数voidfun(char*str),将参数字符串中各单词首字母变大写,其余字母变小写.输入输出在main中实现.如输入quot;youHAVE10books,don#39;tyou?quot;输出quot;YouHave10Books,Don#39;tYou?quot;.单词以空格
<p>问题:c程题目求解答516.编写函数voidfun(char*str),将参数字符串中各单词首字母变大写,其余字母变小写.输入输出在main中实现.如输入quot;youHAVE10books,don#39;tyou?quot;输出quot;YouHave10Books,Don#39;tYou?quot;.单词以空格<p>答案:↓↓↓<p class="nav-title mt10" style="border-top:1px solid #ccc;padding-top: 10px;">刘有恒的回答:<div class="content-b">网友采纳 #include"stdio.h" #include"stdlib.h" voidfun(int*p,intn,intm) { inttemp; int*q=(int*)malloc(n*sizeof(int)); for(inti=0;i
页:
[1]