全文预览

c语言整理(Clanguagearrangement)

上传者:随心@流浪 |  格式:pdf  |  页数:39 |  大小:3411KB

文档介绍
ction of the pointer pointer and call it\rDouble, funl () {\r)\rMain () {\rDouble r l ;\rF=fl;\rRl=f (a);\r* the pointer is often used in the structure, so the conditions\rof the while cycle are generally P! =0, not *p! =0;\r* the method of converting two return values into a return value\rInt fg=l;\rIf (str[i]= = str[n -i-l]);.\rElse {\rFg=O;\rBreak;\r)\rReturn fg;\r* if return and break are present after the if statement, then\rthe if statement ends\rIf (str[i]==str[n-i-1])\rReturn 1;\rElse\rReturn 0;\rThe above program will be wrong: else does not match the if,\rbecause after return, if will be finished, and the latter else\rdoes not have the corresponding if;

收藏

分享

举报
下载此文档