{"id":6607,"date":"2024-08-03T07:01:01","date_gmt":"2024-08-02T23:01:01","guid":{"rendered":""},"modified":"2024-08-03T07:01:01","modified_gmt":"2024-08-02T23:01:01","slug":"c\u8bed\u8a00\u57fa\u672c\u6570\u636e\u7c7b\u578b\u8be6\u89e3_c\u8bed\u8a00\u57fa\u7840\u77e5\u8bc6\u603b\u7ed3\u5927\u5168","status":"publish","type":"post","link":"https:\/\/mushiming.com\/6607.html","title":{"rendered":"c\u8bed\u8a00\u57fa\u672c\u6570\u636e\u7c7b\u578b\u8be6\u89e3_c\u8bed\u8a00\u57fa\u7840\u77e5\u8bc6\u603b\u7ed3\u5927\u5168"},"content":{"rendered":"
<\/p>\n
\u4e0a\u9762\u8fd9\u5f20\u56fe\u7247\u5217\u51fa\u4e86\u5b9a\u4e49\u6570\u636e\u7c7b\u578b\u7684\u5173\u952e\u5b57\uff0c\u5e76\u4e14\u6807\u660e\u4e86\u4e0d\u540c\u7c7b\u578b\u572832\u4f4d\u673a\u7684\u5360\u4f4d\u4ee5\u53ca\u53d6\u503c\u8303\u56f4\u3002\u63a5\u4e0b\u6765\u5927\u81f4\u4ecb\u7ecd\u4e00\u4e0b\u8fd9\u4e09\u79cd\u6570\u636e\u7c7b\u578b\u3002<\/p>\n
1\uff0c\u6574\u578b\uff1a\u6574\u578b\u5206\u4e3a\u5927\u81f4\u5206\u4e3a\u4e24\u79cd\uff0c\u4e00\u79cd\u662f\u6709\u7b26\u53f7\u6574\u578b\u548c\u65e0\u7b26\u53f7\u6574\u578b\uff0c\u6709\u7b26\u53f7\u6574\u578b\u53ef\u4ee5\u770b\u6210\u662f\u53ef\u4ee5\u517c\u5bb9\u8d1f\u6574\u6570\u7684\uff0c\u800c\u65e0\u7b26\u53f7\u7684\u53ea\u80fd\u517c\u5bb9\u6b63\u6574\u6570\u3002<\/strong><\/p>\n \u2460\u6709\u7b26\u53f7\u6574\u578b\u53ef\u5206\u4e3a\u77ed\u6574\u578b\uff08short int\uff09\u3001\u957f\u6574\u578b\uff08long int\uff09\u3001\u957f\u957f\u6574\u578b\uff08long long int\uff09\u3001\u6574\u578b\uff08int\uff09\uff0c\u884c\u5bf9\u6bd4\u8f83\u4e0d\u540c\uff0c\u4ed6\u4eec\u5728\u7535\u8111\u91cc\u9762\u7684\u5360\u4f4d\u957f\u5ea6\u4e0d\u540c\uff0c\u53d6\u503c\u8303\u56f4\u4e5f\u4e0d\u540c\uff0c\u5728\u6709\u7b26\u53f7\u6574\u578b\u5f53\u4e2d\u77ed\u6574\u578b\uff08shut int\uff09\u53d6\u503c\u8303\u56f4\u662f\u6700\u5c0f\u7684\uff0c\u957f\u957f\u6574\u578b\u53d6\u503c\u8303\u56f4\u662f\u6700\u5927\u7684\uff08long long int\uff09\uff0c\u5728\u7f16\u8f91\u7a0b\u5e8f\u65f6\uff0c\u6ca1\u6709\u7279\u6b8a\u60c5\u51b5\u4e0b\u4e00\u822c\u90fd\u662f\u7528\u6574\u578b\uff08int\uff09\u6765\u505a\u5b9a\u4e49\u53d8\u91cf\u6216\u8005\u662f\u5e38\u91cf\u7684\u524d\u7f00\u3002\u5f53\u8ba1\u7b97\u91cf\u5927\u65f6\uff0c\u53ef\u4ee5\u7528\u957f\u957f\u6574\u578b\uff08long long int\uff09\u6765\u505a\u5b9a\u4e49\u6570\u636e\u50a8\u5b58\u53d8\u91cf\u7684\u524d\u7f00\u3002<\/strong><\/p>\n \u2461\u65e0\u7b26\u53f7\u6574\u578b\u53ef\u4ee5\u7ec6\u5206\u4e3a\u65e0\u7b26\u53f7\u77ed\u6574\u578b\uff08unsigned short int\uff09\uff0c\u65e0\u7b26\u53f7<\/strong>\u957f\u6574\u578b\uff08unsigned long int\uff09\u3001\u65e0\u7b26\u53f7\u957f\u957f\u6574\u578b\uff08unsigned long long int\uff09\u3001\u65e0\u7b26\u53f7\u6574\u578b\uff08unsigned int\uff09\uff0c\u76f8\u5bf9\u6bd4\u8f83\u6709\u7b26\u53f7\u6574\u578b\uff0c\u4ed6\u4eec\u4e0d\u80fd\u53d6\u8d1f\u503c\u548c\u6b63\u6574\u6570\u53d6\u503c\u8303\u56f4\u6709\u533a\u522b\u5916\uff0c\u5728\u76f8\u540c\u4f4d\u6570\u7535\u8111\u91cc\u7684\u5360\u4f4d\u5b57\u8282\u662f\u76f8\u5bf9\u5e94\u7684\u3002\u4e00\u822c\u60c5\u51b5\u4e0b\u6211\u4eec\u90fd\u662f\u7528\u6709\u7b26\u53f7\u6574\u578b\uff08int\uff09\u6765\u5b9a\u4e49\u53d8\u91cf\u548c\u5e38\u91cf\u3002<\/strong><\/p>\n 2\uff0c\u5b9e\u578b\uff1a\u5b9e\u578b\u6570\u636e\u7c7b\u578b\u4e5f\u6d6e\u70b9\u7c7b\u578b\uff0c\u4e3b\u8981\u7528\u4e8e\u50a8\u5b58\u7cbe\u5ea6\u9ad8\u7684\u6570\u636e\uff0c\u6d6e\u70b9\u578b\u4e00\u822c\u5206\u4e3a\u5355\u7cbe\u5ea6\u6d6e\u70b9\u578b\uff08float\uff09\u548c\u53cc\u7cbe\u5ea6\u6d6e\u70b9\u578b\uff08double float\uff09\uff0c\u4e24\u79cd\u7c7b\u578b\u90fd\u662f\u6709\u7b26\u53f7\u7684\u3002<\/strong><\/p>\n \u2460\u5355\u7cbe\u5ea6\u6d6e\u70b9\u578b\uff08float\uff09\uff1a\u5355\u7cbe\u5ea6\u6d6e\u70b9\u578b\u572832\u4f4d\u673a\u4e2d\u53604\u5b57\u8282\uff0c\u53d6\u503c\u7cbe\u5ea6\u4e3a\u5c0f\u6570\u70b9\u540e\u516d\u4f4d\u3002<\/strong><\/p>\n \u2461\u53cc\u7cbe\u5ea6\u6d6e\u70b9\u578b\uff08double float\uff09\uff1a\u53cc\u7cbe\u5ea6\u6d6e\u70b9\u578b\u572832\u4f4d\u673a\u4e2d\u7684\u53608\u4e2a\u5b57\u8282\uff0c\u53d6\u503c\u7cbe\u5ea6\u4e3a\u5c0f\u6570\u70b9\u540e\u5341\u4e94\u4f4d\u3002<\/strong><\/p>\n 3\uff0c\u5b57\u7b26\u578b\uff1a\u5b57\u7b26\u578b\u5206\u6709\u7b26\u53f7\u5b57\u7b26\u578b\u548c\u65e0\u7b26\u53f7\u5b57\u7b26\u578b\uff0c\u4e24\u79cd\u7c7b\u578b\u572832\u4f4d\u673a\u91cc\u90fd\u662f\u5360\u4e00\u4e2a\u5b57\u8282\uff0c\u4e24\u79cd\u7c7b\u578b\u7684\u4e0d\u540c\u5728\u4e8e\u4e00\u4e2a\u662f\u6709\u7b26\u53f7\uff0c\u4e00\u4e2a\u662f\u65e0\u7b26\u53f7\uff0c\u65e0\u7b26\u53f7\u7684\u53d6\u503c\u8303\u56f4\u4f1a\u6bd4\u6709\u7b26\u53f7\u7684\u5927\uff0c\u5b57\u7b26\u7c7b\u578b\u7684\u4f5c\u7528\u5c31\u662f\u7528\u4e8e\u50a8\u5b58\u5b57\u7b26\u7684\uff0c\u4ed6\u53ef\u4ee5\u50a8\u5b58\u7b26\u53f7\u3001\u6570\u5b57\u3001\u5b57\u6bcd\u3001\u6587\u5b57\u3001ASCII......\u3002\u6269\u5c55\uff1a\u5728\u5b57\u7b26\u7c7b\u578b\u7684\u6570\u636e\u50a8\u5b58\u4e2d\uff0c\u8fd8\u7ec6\u5206\u4e86\u5b57\u7b26\u548c\u5b57\u7b26\u4e32\uff0c\u5f53\u8981\u5b9a\u4e49\u7684\u6570\u636e\u662f\u5b57\u7b26\u4e32\u65f6\uff0c\u5b57\u7b26\u4e32\u8981\u5305\u542b\u5728\u4e00\u5bf9\u53cc\u5f15\u53f7\u91cc\u9762\uff0c\u5f53\u8981\u5b9a\u4e49\u7684\u6570\u636e\u662f\u5b57\u7b26\u65f6\uff0c\u5b57\u7b26\u8981\u5305\u542b\u5728\u4e00\u5bf9\u5355\u5f15\u53f7\u91cc\u9762<\/p>\n 4\uff0c\u603b\u7ed3\uff1a\u5728\u57fa\u672c\u6570\u636e\u7c7b\u578b\u4e2d\uff0c\u6211\u4eec\u5728\u5e73\u5e38\u8bad\u7ec3\u6572\u4ee3\u7801\u53ea\u4f1a\u7528\u5230\u6574\u578b\uff08int\uff09\u3001\u5355\u7cbe\u5ea6\u6d6e\u70b9\u578b\uff08float\uff09\u3001\u5b57\u7b26\u578b\uff08char\uff09\uff0c\u5176\u5b83\u7c7b\u578b\u7528\u5230\u7684\u9891\u7387\u4e0d\u591a\uff0c\u4f46\u662f\u4e5f\u8981\u8bb0\u4f4f\u4ed6\u4eec\u5728\u7535\u8111\u91cc\u7684\u5360\u4f4d\u548c\u53d6\u503c\u8303\u56f4\uff0c\u6570\u636e\u7c7b\u578b\u7684\u6838\u5fc3\u4f5c\u7528\u5c31\u662f\u5b9a\u4e49\u4e00\u4e2a\u5e38\u91cf\u6216\u662f\u53d8\u91cf\u7684\u7c7b\u578b\uff0c\u6574\u578b\u548c\u6d6e\u70b9\u578b\u7684\u6570\u636e\u90fd\u662f\u6570\u5b57\uff0c\u800c\u5b57\u7b26\u578b\u7684\u6570\u636e\u90fd\u662f\u4ee5\u5b57\u7b26\u4e3a\u4e3b\uff0c\u4f46\u662f\u5728Ascll\u8868\u91cc\uff0c\u76f8\u5e94\u6570\u5b57\u662f\u5bf9\u5e94\u76f8\u5e94\u7684\u5b57\u7b26\u7684<\/strong><\/p>\n <\/p>\n \u50cf\u4e0a\u9762\u7684\u4ee3\u7801\u4e00\u6837\uff0c\u5b57\u7b26\u5e38\u91cfA\u5728Ascll\u8868\u91cc\u5bf9\u5e94\u7684\u5341\u8fdb\u5236\u6570\u5b57\u662f65\uff0c\u6240\u4ee5\u5f53\u5c06\u5b57\u7b26\u578b\u5e38\u91cfarray\u91cc\u50a8\u5b58\u7684\u503cA\u8d4b\u503c\u7ed9\u6574\u578b\u53d8\u91cfnum\u65f6\uff0c\u6240\u5f97\u5230\u7684\u7ed3\u679c\u662fnum=65\u3002<\/p>\n<\/p>\n \u4e0b\u4e00\u7ae0\u9884\u544a\uff1aC\u8bed\u8a00\u8f93\u5165\u3001\u8f93\u51fa\u683c\u5f0f\u63a7\u5236\u7b26\u3001\u8f6c\u4e49\u5b57\u7b26\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"c\u8bed\u8a00\u57fa\u672c\u6570\u636e\u7c7b\u578b\u8be6\u89e3_c\u8bed\u8a00\u57fa\u7840\u77e5\u8bc6\u603b\u7ed3\u5927\u5168\u4e0a\u9762\u8fd9\u5f20\u56fe\u7247\u5217\u51fa\u4e86\u5b9a\u4e49\u6570\u636e\u7c7b\u578b\u7684\u5173\u952e\u5b57\uff0c\u5e76\u4e14\u6807\u660e\u4e86\u4e0d\u540c\u7c7b\u578b\u572832\u4f4d\u673a\u7684\u5360\u4f4d\u4ee5...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/6607"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=6607"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/6607\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=6607"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=6607"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=6607"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}#include<stdio.h> \/\/\u5f15\u7528\u5934\u6587\u4ef6 int main() \/\/\u4e3b\u51fd\u6570 { short int num=1; \/\/\u5b9a\u4e49\u4e00\u4e2a\u77ed\u6574\u578b\u5e38\u91cfnum\uff0c\u8d4b\u503c\u4e3a1 long int num2=2; \/\/\u5b9a\u4e49\u4e00\u4e2a\u957f\u6574\u578b\u5e38\u91cfnum2\uff0c\u8d4b\u503c\u4e3a2 long long int num3=521; \/\/\u5b9a\u4e49\u4e00\u4e2a\u957f\u957f\u6574\u578b\u5e38\u91cfnum3\uff0c\u8d4b\u503c\u4e3a521 int iNUM=1314; \/\/\u5b9a\u4e49\u4e00\u4e2a\u6574\u578b\u5e38\u91cfiNum\uff0c\u8d4b\u503c\u4e3a1314 return 0; \/\/\u8fd0\u884c\u7ed3\u675f\u8fd4\u56de0 }<\/code><\/pre>\n
#include<stdio.h> \/\/\u5f15\u7528\u5934\u6587\u4ef6 int main() \/\/\u4e3b\u51fd\u6570 { unsigned short int num=1; \/\/\u5b9a\u4e49\u4e00\u4e2a\u65e0\u7b26\u53f7\u77ed\u6574\u578b\u5e38\u91cfnum\uff0c\u8d4b\u503c\u4e3a1 unsigned long int num2=2; \/\/\u5b9a\u4e49\u4e00\u4e2a\u65e0\u7b26\u53f7\u957f\u6574\u578b\u5e38\u91cfnum2\uff0c\u8d4b\u503c\u4e3a2 unsigned long long int num3=521; \/\/\u5b9a\u4e49\u4e00\u4e2a\u65e0\u7b26\u53f7\u957f\u957f\u6574\u578b\u5e38\u91cfnum3\uff0c\u8d4b\u503c\u4e3a521 unsigned int iNUM=1314; \/\/\u5b9a\u4e49\u4e00\u4e2a\u65e0\u7b26\u53f7\u6574\u578b\u5e38\u91cfiNum\uff0c\u8d4b\u503c\u4e3a1314 return 0; \/\/\u8fd0\u884c\u7ed3\u675f\u8fd4\u56de0 }<\/code><\/pre>\n
#include<stdio.h> \/\/\u5f15\u7528\u5934\u6587\u4ef6 int main() \/\/\u4e3b\u51fd\u6570 { float fNum=521.1314; \/\/\u5b9a\u4e49\u4e00\u4e2a\u5355\u7cbe\u5ea6\u6d6e\u70b9\u578b\u5e38\u91cffNum\uff0c\u8d4b\u503c\u4e3a521.1314 return 0; \/\/\u8fd0\u884c\u7ed3\u675f\u8fd4\u56de0 }<\/code><\/pre>\n
#include<stdio.h> \/\/\u5f15\u7528\u5934\u6587\u4ef6 int main() \/\/\u4e3b\u51fd\u6570 { double float fNum=521.4; \/\/\u5b9a\u4e49\u4e00\u4e2a\u5355\u7cbe\u5ea6\u6d6e\u70b9\u578b\u5e38\u91cffNum\uff0c\u8d4b\u503c\u4e3a521.4 return 0; \/\/\u8fd0\u884c\u7ed3\u675f\u8fd4\u56de0 }<\/code><\/pre>\n
#include<stdio.h> \/\/\u5f15\u7528\u5934\u6587\u4ef6 int main() \/\/\u4e3b\u51fd\u6570 { \/\/\u5b9a\u4e49\u4e00\u4e2a\u5b57\u7b26\u4e32\u578b\u5e38\u91cfArray\uff0c\u8d4b\u503c\uff1a\u6211\u53ebjhx\uff0c16years old char Array=\"\u6211\u53ebjhx\uff0c16years old\"; \/\/\u5b9a\u4e49\u4e00\u4e2a\u65e0\u7b26\u53f7\u5b57\u7b26\u4e32\u578b\u5e38\u91cfcArray\uff0c\u8d4b\u503c\uff1aToday is 2021.10.30 unsigned char cArray=\"Today is 2021.10.30\"; \/\/\u5b9a\u4e49\u4e00\u4e2a\u5b57\u7b26\u578b\u5e38\u91cftemp\uff0c\u8d4b\u503c\uff1aA cahr temp='A'; \/\/\u5b9a\u4e49\u4e00\u4e2a\u65e0\u7b26\u53f7\u5b57\u7b26\u578b\u5e38\u91cfcTemp\uff0c\u8d4b\u503c\uff1ab unsigned char cTemp='b'; return 0; \/\/\u8fd0\u884c\u7ed3\u675f\u8fd4\u56de0 }<\/code><\/pre>\n
#include<stdio.h> \/\/\u5f15\u7528\u5934\u6587\u4ef6 int main() \/\/\u4e3b\u51fd\u6570 { char array='A'; \/\/\u5b9a\u4e49\u4e00\u4e2a\u5b57\u7b26\u578b\u5e38\u91cfarray\uff0c\u8d4b\u503c\uff1aA int num=array; \/\/\u5b9a\u4e49\u4e00\u4e2a\u6574\u578b\u53d8\u91cfnum\uff0c\u5c06\u5b57\u7b26\u5e38\u91cfarray\u8d4b\u503c\u7ed9\u6574\u578b\u53d8\u91cfnum return 0; \/\/\u8fd0\u884c\u7ed3\u675f\u8fd4\u56de0 }<\/code><\/pre>\n