{"id":66876,"date":"2026-01-27T19:33:50","date_gmt":"2026-01-27T11:33:50","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/66876.html"},"modified":"2026-01-27T19:33:50","modified_gmt":"2026-01-27T11:33:50","slug":"c%e8%af%ad%e8%a8%80%e5%9f%ba%e6%9c%ac%e7%b1%bb%e5%9e%8b%e6%95%b0%e6%8d%ae","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/66876.html","title":{"rendered":"C\u8bed\u8a00\u57fa\u672c\u7c7b\u578b\u6570\u636e"},"content":{"rendered":"<h3>\u57fa\u672c\u7c7b\u578b\u6570\u636e(\u91cd\u70b9)<\/h3>\n<h4>\u6574\u5f62\u6570\u636e<\/h4>\n<h5>\u6574\u578b\u53d8\u91cf\u7684\u5b9a\u4e49\u4e0e\u5185\u5b58\u67e5\u8be2<\/h5>\n<p>\u5b9a\u4e49\u6574\u5f62\u53d8\u91cf\u65f6&#xff0c;\u7f16\u8bd1\u5668\u4f1a\u5206\u914d\u5bf9\u5e94\u5927\u5c0f\u7684\u5185\u5b58\u7a7a\u95f4&#xff0c;\u53d8\u91cf\u540d\u4f5c\u4e3a\u8be5\u7a7a\u95f4\u7684\u6807\u8bc6&#xff0c;\u901a\u8fc7\u53d8\u91cf\u540d\u53ef\u8bbf\u95ee\u7a7a\u95f4\u4e2d\u7684\u6570\u636e\u3002<\/p>\n<p>\u82e5\u4e0d\u786e\u5b9a\u7f16\u8bd1\u5668\u5206\u914d\u7684\u5185\u5b58\u5927\u5c0f&#xff0c;\u53ef\u901a\u8fc7sizeof\u8fd0\u7b97\u7b26\u67e5\u8be2(sizeof\u8fd4\u56de\u503c\u7684\u7c7b\u578b\u4e3asize_t&#xff0c;\u4e5f\u5c31\u662funsigned long int\u7684\u522b\u540d&#xff0c;\u901a\u5e38\u7528%ld\u683c\u5f0f\u5316\u8f93\u51fa)<\/p>\n<p><span class=\"token keyword\">int<\/span> a <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">10<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token comment\">\/\/\u8f93\u51fa&#xff1a;4&#xff0c;4 int\u7c7b\u578b\u53604\u5b57\u8282&#xff0c;\u53d8\u91cfa\u4f7f\u7528int\u4fee\u9970&#xff0c;\u53604\u5b57\u8282 sizeof\u8fd4\u56de\u7684\u662fsize_t\u7c7b\u578b\u7684\u5b57\u8282\u6570<\/span><br \/>\n<span class=\"token function\">printf<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;%ld,%ld\\\\n&#034;<\/span><span class=\"token punctuation\">,<\/span><span class=\"token keyword\">sizeof<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">int<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token keyword\">sizeof<\/span><span class=\"token punctuation\">(<\/span>a<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<h4>\u6574\u5f62\u6570\u636e\u5728\u5185\u5b58\u4e2d\u7684\u5b58\u50a8\u5f62\u5f0f<\/h4>\n<ul>\n<li>\u5b58\u50a8\u672c\u8d28&#xff1a;\u6570\u636e\u5728\u5185\u5b58\u4e2d\u662f\u4ee5\u4e8c\u8fdb\u5236\u5f62\u5f0f\u5b58\u50a8&#xff0c;\u6700\u7ec8\u4ee5\u8865\u7801\u5f62\u5f0f\u5b58\u653e \u3002<\/li>\n<li>\u8865\u7801\u7684\u4f7f\u7528&#xff1a;\u7edf\u4e00\u52a0\u51cf\u6cd5\u8fd0\u7b97&#xff0c;\u4f7fCPU\u53ef\u901a\u8fc7\u540c\u4e00\u5957\u52a0\u6cd5\u7535\u8def(\u7b80\u5316\u786c\u4ef6\u8bbe\u8ba1)\u5904\u7406\u6240\u6709\u6574\u6570\u8fd0\u7b97(\u5305\u62ec\u6b63\u6570\u3001\u8d1f\u6570)&#xff0c;\u540c\u65f6\u6d88\u9664\u4e86&#043;0\u548c-0\u6b67\u4e49&#xff0c;\u53ea\u4fdd\u7559\u4e00\u4e2a0\u3002<\/li>\n<\/ul>\n<p>\u5173\u952e\u6982\u5ff5<\/p>\n<ul>\n<li>\n<p>\u7a0b\u5e8f\u4e2d\u7684\u6570\u636e\u8f6c\u6362\u4e3a\u4e8c\u8fdb\u5236\u540e&#xff0c;\u9ed8\u8ba4\u662f\u539f\u7801\u5f62\u5f0f\u3002<\/p>\n<\/li>\n<li>\n<p>\u6b63\u6570\u7684\u539f\u7801\u3001\u53cd\u7801\u3001\u8865\u7801\u5b8c\u5168\u76f8\u540c&#xff08;\u4e09\u7801\u4e00\u81f4&#xff09;\u3002<\/p>\n<\/li>\n<li>\n<p>\u8d1f\u6570\u7684\u8865\u7801\u8ba1\u7b97&#xff1a;\u5148\u53d6\u8be5\u6570\u7edd\u5bf9\u503c\u7684\u539f\u7801 \u2192 \u6309\u4f4d\u53d6\u53cd&#xff08;\u5f97\u5230\u53cd\u7801&#xff09; \u2192 \u52a0 1&#xff08;\u5f97\u5230\u8865\u7801&#xff09;\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u5185\u5b58\u6570\u636e\u7684\u8bfb\u5199\u6d41\u7a0b&#xff1a;<\/p>\n<p>\u2460 \u5b58\u6570\u636e&#xff1a;\u6b63\u6570\u76f4\u63a5\u4ee5\u8865\u7801\u5b58\u50a8&#xff1b;\u8d1f\u6570\u9700\u7ecf\u8fc7 \u539f\u7801 \u2192 (\u6309\u4f4d\u53d6\u53cd) \u2192 \u53cd\u7801 \u2192 (&#043;1) \u2192 \u8865\u7801\u8f6c\u6362\u540e\u5b58\u50a8\u3002<\/p>\n<p>\u2461 \u53d6\u6570\u636e&#xff1a;\u6b63\u6570\u8865\u7801\u76f4\u63a5\u8fd8\u539f\u4e3a\u539f\u7801&#xff1b;\u8d1f\u6570\u9700\u7ecf\u8fc7\u8865\u7801 \u2192 (-1) \u2192 \u53cd\u7801 \u2192 (\u6309\u4f4d\u53d6\u53cd) \u2192 \u539f\u7801\u540e\u8fd8\u539f&#xff08;\u516b\u8fdb\u5236\/\u5341\u8fdb\u5236\/\u5341\u516d\u8fdb\u5236&#xff09;<\/p>\n<p>\u793a\u4f8b&#xff1a;\u6574\u578b\u53d8\u91cf\u7684\u5b9a\u4e49\u4e0e\u8fd0\u7b97<\/p>\n<p><span class=\"token macro property\"><span class=\"token directive-hash\">#<\/span><span class=\"token directive keyword\">include<\/span> <span class=\"token string\">&lt;stdio.h&gt;<\/span><\/span><\/p>\n<p><span class=\"token keyword\">int<\/span> <span class=\"token function\">main<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">int<\/span> argc<span class=\"token punctuation\">,<\/span><span class=\"token keyword\">char<\/span> <span class=\"token operator\">*<\/span>argv<span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token comment\">\/\/ \u6709\u7b26\u53f7\u6574\u578b\u53d8\u91cf&#xff1a;\u53ef\u5b58\u653e\u6b63\u6570\u30010\u3001\u8d1f\u6570&#xff0c;\u9ed8\u8ba4\u7c7b\u578b&#xff08;\u7b49\u4ef7\u4e8esigned int&#xff09;<\/span><br \/>\n    <span class=\"token keyword\">int<\/span> a<span class=\"token punctuation\">,<\/span> b<span class=\"token punctuation\">,<\/span> c<span class=\"token punctuation\">,<\/span> d<span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token comment\">\/\/ \u65e0\u7b26\u53f7\u6574\u578b\u53d8\u91cf&#xff1a;\u4ec5\u53ef\u5b58\u50a8\u6b63\u6570\u30010\u3001\u4e0d\u80fd\u5b58\u50a8\u8d1f\u6570&#xff0c;\u9700\u52a0unsigned\u5173\u952e\u5b57<\/span><br \/>\n    <span class=\"token keyword\">unsigned<\/span> <span class=\"token keyword\">int<\/span> u<span class=\"token punctuation\">,<\/span> v<span class=\"token punctuation\">;<\/span><\/p>\n<p>    <span class=\"token comment\">\/\/ \u8d4b\u503c<\/span><br \/>\n    a <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">12<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    b <span class=\"token operator\">&#061;<\/span> <span class=\"token operator\">&#8211;<\/span><span class=\"token number\">24<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    u <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">10<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    c <span class=\"token operator\">&#061;<\/span> a <span class=\"token operator\">&#043;<\/span> u<span class=\"token punctuation\">;<\/span>  <span class=\"token comment\">\/\/ 12 &#043; 10 &#061; 22<\/span><br \/>\n    d <span class=\"token operator\">&#061;<\/span> b <span class=\"token operator\">&#043;<\/span> u<span class=\"token punctuation\">;<\/span>  <span class=\"token comment\">\/\/ -24 &#043; 10 &#061; -14<\/span><br \/>\n    v <span class=\"token operator\">&#061;<\/span> <span class=\"token operator\">&#8211;<\/span><span class=\"token number\">100<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token function\">printf<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;a&#043;u&#061;%d,b&#043;u&#061;%d,v&#061;%u\\\\n&#034;<\/span><span class=\"token punctuation\">,<\/span> c<span class=\"token punctuation\">,<\/span> d<span class=\"token punctuation\">,<\/span> v<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><span class=\"token comment\">\/\/ %d&#xff1a;\u6709\u7b26\u53f7int, %u&#xff1a;\u65e0\u7b26\u53f7int&#xff0c;v\u4e0d\u63a5\u53d7\u8d1f\u6570&#xff0c;\u6240\u4ee5\u83b7\u53d6\u5230\u7684\u662f\u968f\u673a\u503c<\/span><\/p>\n<p>    <span class=\"token keyword\">return<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>\u8fd0\u884c\u7ed3\u679c<\/p>\n<p>a<span class=\"token operator\">&#043;<\/span>u<span class=\"token operator\">&#061;<\/span><span class=\"token number\">22<\/span><span class=\"token punctuation\">,<\/span>b<span class=\"token operator\">&#043;<\/span>u<span class=\"token operator\">&#061;<\/span><span class=\"token operator\">&#8211;<\/span><span class=\"token number\">14<\/span><span class=\"token punctuation\">,<\/span>v<span class=\"token operator\">&#061;<\/span><span class=\"token number\">4294967196<\/span><\/p>\n<p>\u8865\u5145&#xff1a;\u6709\u7b26\u53f7\u4e0e\u65e0\u7b26\u53f7char\u7684\u5b58\u50a8\u8303\u56f4\u5bf9\u6bd4&#xff08;\u4ee5 8 \u4f4d\u4e3a\u4f8b&#xff09;&#xff1a;<\/p>\n<ul>\n<li>\u6709\u7b26\u53f7char&#xff1a;\u8303\u56f4-128 ~ 127&#xff08;\u6700\u9ad8\u4f4d\u4e3a\u7b26\u53f7\u4f4d&#xff0c;0 \u8868\u793a\u6b63\u6570&#xff0c;1 \u8868\u793a\u8d1f\u6570&#xff09;&#xff1b;<\/li>\n<li>\u65e0\u7b26\u53f7char&#xff1a;\u8303\u56f40 ~ 255&#xff08;\u6240\u6709\u4f4d\u5747\u4e3a\u6570\u636e\u4f4d&#xff0c;\u65e0\u7b26\u53f7\u4f4d&#xff09;\u3002<\/li>\n<\/ul>\n<h4>\u6d6e\u70b9\u578b\u6570\u636e<\/h4>\n<p>**\u5b9a\u4e49&#xff1a;**\u7528\u4e8e\u5b58\u50a8\u5b9e\u6570&#xff08;\u5c0f\u6570&#xff09;\u7684\u6570\u636e\u7c7b\u578b&#xff0c;\u652f\u6301\u6574\u6570\u90e8\u5206\u548c\u5c0f\u6570\u90e8\u5206\u7684\u8868\u793a\u3002<\/p>\n<h5>\u6d6e\u70b9\u578b\u53d8\u91cf\u7684\u5206\u7c7b<\/h5>\n<table>\n<tr>\u7c7b\u578b\u5b57\u8282\u6570&#xff08;64 \u4f4d\u7cfb\u7edf&#xff09;\u7cbe\u5ea6&#xff08;\u6709\u6548\u6570\u5b57&#xff09;\u683c\u5f0f\u5316\u8f93\u51fa\u7b26\u53f7\u8bf4\u660e\u5907\u6ce8<\/tr>\n<tbody>\n<tr>\n<td align=\"left\">\u5355\u7cbe\u5ea6\u578b<\/td>\n<td align=\"left\">float<\/td>\n<td align=\"left\">4 \u5b57\u8282<\/td>\n<td align=\"left\">6~7 \u4f4d<\/td>\n<td align=\"left\">%f<\/td>\n<td align=\"left\">\u9700\u5728\u5e38\u91cf\u540e\u52a0F\/f&#xff08;\u4f8b&#xff1a;12.25f&#xff09;<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">\u53cc\u7cbe\u5ea6\u578b<\/td>\n<td align=\"left\">double<\/td>\n<td align=\"left\">8 \u5b57\u8282<\/td>\n<td align=\"left\">15~16 \u4f4d<\/td>\n<td align=\"left\">%lf&#xff08;\u6216%f&#xff0c;printf \u901a\u7528&#xff09;<\/td>\n<td align=\"left\">\u9ed8\u8ba4\u6d6e\u70b9\u578b\u5e38\u91cf\u4e3adouble&#xff08;\u4f8b&#xff1a;12.5&#xff09;<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">\u957f\u53cc\u7cbe\u5ea6\u578b<\/td>\n<td align=\"left\">long double<\/td>\n<td align=\"left\">16 \u5b57\u8282&#xff08;Linux GCC&#xff09;<\/td>\n<td align=\"left\">18~19 \u4f4d<\/td>\n<td align=\"left\">%Lf<\/td>\n<td align=\"left\">\u7cbe\u5ea6\u6700\u9ad8&#xff0c;\u517c\u5bb9\u6027\u4f9d\u8d56\u7f16\u8bd1\u5668<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6ce8\u610f&#xff1a;\u5360\u7528\u5185\u5b58\u8d8a\u5927&#xff0c;\u7cbe\u5ea6\u8d8a\u9ad8&#xff0c;\u80fd\u8868\u793a\u7684\u6570\u503c\u8303\u56f4\u4e5f\u8d8a\u5e7f\u3002<\/p>\n<p><span class=\"token keyword\">float<\/span> f1 <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">12.25f<\/span><span class=\"token punctuation\">;<\/span>   <span class=\"token comment\">\/\/ 12.25f\u8868\u793afloat\u7c7b\u578b\u7684\u5e38\u91cf&#xff0c;\u63a8\u8350\u52a0F&#xff0c;\u8bed\u6cd5\u4e0a\u5141\u8bb8\u7701\u7565f\/F&#xff0c;\u4f46\u4f1a\u89e6\u53d1double-&gt;float\u7684\u9690\u5f0f\u8f6c\u6362<\/span><br \/>\n<span class=\"token keyword\">double<\/span> f2 <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">12.5<\/span><span class=\"token punctuation\">;<\/span>    <span class=\"token comment\">\/\/ 12.5\u8868\u793adouble\u7c7b\u578b\u7684\u5e38\u91cf&#xff0c;\u9ed8\u8ba4<\/span><br \/>\n<span class=\"token keyword\">long<\/span> <span class=\"token keyword\">double<\/span> f3 <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">3.1415926535Lf<\/span><span class=\"token punctuation\">;<\/span>   <span class=\"token comment\">\/\/ 3.1415926535Lf\u8868\u793along double\u7c7b\u578b\u7684\u5e38\u91cf&#xff0c;\u5efa\u8bae\u5c11\u7528&#xff0c;\u52a0Lf<\/span><\/p>\n<h5>\u6d6e\u70b9\u578b\u6570\u636e\u5728\u5185\u5b58\u4e2d\u7684\u5b58\u50a8\u5f62\u5f0f<\/h5>\n<p>\u6d6e\u70b9\u578b\u6570\u636e\u6309IEEE 754\u6807\u51c6\u4ee5\u4e8c\u8fdb\u5236\u6307\u6570\u5f62\u5f0f\u5b58\u50a8&#xff0c;\u7cfb\u7edf\u5c06\u6d6e\u70b9\u578b\u6570\u636e\u62c6\u5206\u4e3a\u4e09\u90e8\u5206\u5206\u522b\u5b58\u653e&#xff1a;<\/p>\n<li>**\u7b26\u53f7\u4f4d&#xff1a;**\u8868\u793a\u6b63\u8d1f&#xff08;0-\u6b63&#xff0c;1-\u8d1f&#xff09;<\/li>\n<li>**\u6307\u6570\u4f4d&#xff1a;**\u5b58\u50a8\u6307\u6570\u503c&#xff08;\u9700\u52a0\u504f\u79fb\u91cf&#xff0c;\u907f\u514d\u8d1f\u6307\u6570&#xff09;<\/li>\n<li>**\u5c3e\u6570\u4f4d&#xff1a;**\u5b58\u50a8\u5c3e\u6570\u90e8\u5206&#xff08;\u9690\u542b\u6574\u6570\u90e8\u5206\u4e3a1&#xff0c;\u8282\u7701\u5b58\u50a8\u7a7a\u95f4&#xff09;<\/li>\n<p>\u4e3e\u4f8b&#xff1a;<span class=\"katex--inline\"><span class=\"katex\"><span class=\"katex-mathml\">1234.51234.5<\/span><span class=\"katex-html\"><span class=\"base\"><span class=\"strut\" style=\"height: 0.6444em\"><\/span><span class=\"mord\">1234.5<\/span><\/span><\/span><\/span><\/span>\u7684\u6307\u6570\u5f62\u5f0f\u4e3a<span class=\"katex--inline\"><span class=\"katex\"><span class=\"katex-mathml\">1.2345\u22171031.2345 * 10^3<\/span><span class=\"katex-html\"><span class=\"base\"><span class=\"strut\" style=\"height: 0.6444em\"><\/span><span class=\"mord\">1.2345<\/span><span class=\"mspace\" style=\"margin-right: 0.2222em\"><\/span><span class=\"mbin\">\u2217<\/span><span class=\"mspace\" style=\"margin-right: 0.2222em\"><\/span><\/span><span class=\"base\"><span class=\"strut\" style=\"height: 0.8141em\"><\/span><span class=\"mord\">1<\/span><span class=\"mord\"><span class=\"mord\">0<\/span><span class=\"msupsub\"><span class=\"vlist-t\"><span class=\"vlist-r\"><span class=\"vlist\" style=\"height: 0.8141em\"><span class=\"\" style=\"top: -3.063em;margin-right: 0.05em\"><span class=\"pstrut\" style=\"height: 2.7em\"><\/span><span class=\"sizing reset-size6 size3 mtight\"><span class=\"mord mtight\">3<\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span>&#xff08;\u6216<span class=\"katex--inline\"><span class=\"katex\"><span class=\"katex-mathml\">1.2345e31.2345e3<\/span><span class=\"katex-html\"><span class=\"base\"><span class=\"strut\" style=\"height: 0.6444em\"><\/span><span class=\"mord\">1.2345<\/span><span class=\"mord mathnormal\">e<\/span><span class=\"mord\">3<\/span><\/span><\/span><\/span><\/span>&#xff09;<\/p>\n<p>IEEE 754\u6807\u51c6\u76f8\u5173\u53c2\u6570&#xff1a;<\/p>\n<table>\n<tr>\u7c7b\u522b\u5b57\u8282\u6570\u7b26\u53f7\u4f4d\u6307\u6570\u4f4d&#xff08;\u8303\u56f4&#xff09;\u5c3e\u6570\u4f4d&#xff08;\u957f\u5ea6&#xff09;\u6307\u6570\u504f\u79fb\u91cf<\/tr>\n<tbody>\n<tr>\n<td align=\"left\">\u5355\u7cbe\u5ea6\u6d6e\u70b9\u6570<\/td>\n<td align=\"left\">4<\/td>\n<td align=\"left\">1 \u4f4d [31]<\/td>\n<td align=\"left\">8 \u4f4d [30~23]<\/td>\n<td align=\"left\">23 \u4f4d [22~00]<\/td>\n<td align=\"left\">127<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">\u53cc\u7cbe\u5ea6\u6d6e\u70b9\u6570<\/td>\n<td align=\"left\">8<\/td>\n<td align=\"left\">1 \u4f4d [63]<\/td>\n<td align=\"left\">11 \u4f4d [62~52]<\/td>\n<td align=\"left\">52 \u4f4d [51~00]<\/td>\n<td align=\"left\">1023<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5>\u793a\u4f8b&#xff1a;27.5f \u5728\u5185\u5b58\u4e2d\u7684\u5b58\u50a8\u5f62\u5f0f<\/h5>\n<ul>\n<li>**\u9700\u6c42&#xff1a;**\u5206\u6790\u5355\u7cbe\u5ea6\u6d6e\u70b9\u578b\u657027.5f\u7684\u5185\u5b58\u5b58\u50a8\u4e8c\u8fdb\u5236\u5f62\u5f0f\u3002<\/li>\n<li>\u89e3\u6790\u6b65\u9aa4&#xff1a;\n<li>\u8f6c\u6362\u4e3a\u4e8c\u8fdb\u5236&#xff1a;27.5\u7684\u4e8c\u8fdb\u5236\u4e3a11011.1&#xff08;\u6574\u6570\u90e8\u5206<span class=\"katex--inline\"><span class=\"katex\"><span class=\"katex-mathml\">27\u21921101127 \u2192 11011<\/span><span class=\"katex-html\"><span class=\"base\"><span class=\"strut\" style=\"height: 0.6444em\"><\/span><span class=\"mord\">27<\/span><span class=\"mspace\" style=\"margin-right: 0.2778em\"><\/span><span class=\"mrel\">\u2192<\/span><span class=\"mspace\" style=\"margin-right: 0.2778em\"><\/span><\/span><span class=\"base\"><span class=\"strut\" style=\"height: 0.6444em\"><\/span><span class=\"mord\">11011<\/span><\/span><\/span><\/span><\/span>&#xff0c;\u5c0f\u6570\u90e8\u5206 <span class=\"katex--inline\"><span class=\"katex\"><span class=\"katex-mathml\">0.5\u219210.5 \u2192 1<\/span><span class=\"katex-html\"><span class=\"base\"><span class=\"strut\" style=\"height: 0.6444em\"><\/span><span class=\"mord\">0.5<\/span><span class=\"mspace\" style=\"margin-right: 0.2778em\"><\/span><span class=\"mrel\">\u2192<\/span><span class=\"mspace\" style=\"margin-right: 0.2778em\"><\/span><\/span><span class=\"base\"><span class=\"strut\" style=\"height: 0.6444em\"><\/span><span class=\"mord\">1<\/span><\/span><\/span><\/span><\/span>&#xff09;<\/li>\n<li>\u6807\u51c6\u5316\u6307\u6570\u5f62\u5f0f&#xff1a;<span class=\"katex--inline\"><span class=\"katex\"><span class=\"katex-mathml\">11011.1&#061;1.10111\u22172411011.1 &#061; 1.10111 * 2^4<\/span><span class=\"katex-html\"><span class=\"base\"><span class=\"strut\" style=\"height: 0.6444em\"><\/span><span class=\"mord\">11011.1<\/span><span class=\"mspace\" style=\"margin-right: 0.2778em\"><\/span><span class=\"mrel\">&#061;<\/span><span class=\"mspace\" style=\"margin-right: 0.2778em\"><\/span><\/span><span class=\"base\"><span class=\"strut\" style=\"height: 0.6444em\"><\/span><span class=\"mord\">1.10111<\/span><span class=\"mspace\" style=\"margin-right: 0.2222em\"><\/span><span class=\"mbin\">\u2217<\/span><span class=\"mspace\" style=\"margin-right: 0.2222em\"><\/span><\/span><span class=\"base\"><span class=\"strut\" style=\"height: 0.8141em\"><\/span><span class=\"mord\"><span class=\"mord\">2<\/span><span class=\"msupsub\"><span class=\"vlist-t\"><span class=\"vlist-r\"><span class=\"vlist\" style=\"height: 0.8141em\"><span class=\"\" style=\"top: -3.063em;margin-right: 0.05em\"><span class=\"pstrut\" style=\"height: 2.7em\"><\/span><span class=\"sizing reset-size6 size3 mtight\"><span class=\"mord mtight\">4<\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span>&#xff08;\u5c0f\u6570\u70b9\u5de6\u79fb4\u4f4d&#xff0c;\u6307\u6570\u4e3a4&#xff09;<\/li>\n<li>\u8ba1\u7b97\u6307\u6570\u4f4d&#xff1a;\u6307\u6570(4) &#043; \u504f\u79fb\u91cf(127) &#061; 131&#xff0c;\u8f6c\u6362\u4e3a8\u4f4d\u4e8c\u8fdb\u52361000 0011<\/li>\n<li>\u5904\u7406\u5c3e\u6570\u4f4d&#xff1a;\u5c3e\u6570\u90e8\u5206\u4e3a10111,(\u9690\u542b\u6574\u6570\u90e8\u5206 1),\u88650 \u2192 1011 1000 0000 0000 0000 000<\/li>\n<li>\u7ec4\u5408\u7ed3\u679c&#xff1a;\u7b26\u53f7\u4f4d(0-\u6b63\u6570) &#043; \u6307\u6570\u4f4d(10000011) &#043; \u5c3e\u6570\u4f4d&#xff08;10111000000000000000000&#xff09;<\/li>\n<\/li>\n<\/ul>\n<p>\u8865\u5145&#xff1a;\u6d6e\u70b9\u578b\u6570\u636e\u8f6c\u4e8c\u8fdb\u5236\u65b9\u6cd5&#xff1a;<\/p>\n<p>\u2460 \u6574\u6570\u90e8\u5206&#xff1a;\u8f97\u8f6c\u9664\u4ee5 2&#xff0c;\u53d6\u4f59\u6570&#xff0c;\u9006\u5e8f\u6392\u5217&#xff08;\u76f4\u5230\u5546\u4e3a 0&#xff09;&#xff1b;<\/p>\n<p>\u2461 \u5c0f\u6570\u90e8\u5206&#xff1a;\u8f97\u8f6c\u4e58\u4ee5 2&#xff0c;\u53d6\u6574\u6570\u4f4d&#xff0c;\u987a\u5e8f\u6392\u5217&#xff08;\u76f4\u5230\u5c0f\u6570\u90e8\u5206\u4e3a 0 \u6216\u8fbe\u5230\u5c3e\u6570\u4f4d\u957f\u5ea6&#xff0c;\u4e58\u4e0d\u5c3d\u65f6\u6309\u7cbe\u5ea6\u622a\u65ad&#xff09;\u3002<\/p>\n<h6>\u79d1\u5b66\u8ba1\u6570\u6cd5&#xff08;\u6307\u6570\u5f62\u5f0f&#xff09;\u89c4\u5219<\/h6>\n<p>C \u8bed\u8a00\u4e2d\u6d6e\u70b9\u6570\u7684\u4e24\u79cd\u8868\u793a\u5f62\u5f0f&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u5341\u8fdb\u5236\u5f62\u5f0f&#xff1a;\u9700\u5305\u542b\u6574\u6570\u90e8\u5206\u6216\u5c0f\u6570\u90e8\u5206\u81f3\u5c11\u5176\u4e00(\u4f8b:10.0 &#xff64;3.14 &#xff64;.14 &#xff64;10. \u5747\u5408\u6cd5;\u4ec5\u201c.\u201d\u4e0d\u5408\u6cd5)<\/p>\n<\/li>\n<li>\n<p>\u6307\u6570\u5f62\u5f0f&#xff08;\u79d1\u5b66\u8ba1\u6570\u6cd5&#xff09;&#xff1a;\u7528e\u6216E<\/p>\n<p>\u8868\u793a 10 \u7684\u5e42\u6b21&#xff0c;\u89c4\u5219\u5982\u4e0b&#xff1a;<\/p>\n<li>e\/E\u524d\u9762\u5fc5\u987b\u6709\u6570\u5b57&#xff08;\u4f8b&#xff1a;3.14e3\u5408\u6cd5&#xff0c;e3\u975e\u6cd5&#xff09;&#xff1b;<\/li>\n<li>e\/E\u540e\u9762\u5fc5\u987b\u662f\u6574\u6570&#xff08;\u53ef\u6b63\u53ef\u8d1f&#xff0c;\u4f8b&#xff1a;3.1e-2\u5408\u6cd5&#xff0c;3.1e5.6\u975e\u6cd5&#xff09;&#xff1b;<\/li>\n<li>\u793a\u4f8b&#xff1a;-3.14E-2&#xff08;\u7b49\u4ef7\u4e8e-3.14\u00d710\u207b\u00b2&#xff09;\u30012E-3&#xff08;\u7b49\u4ef7\u4e8e2\u00d710\u207b\u00b3&#xff09;\u30010.3E4&#xff08;\u7b49\u4ef7\u4e8e0.3\u00d710\u2074&#xff09;\u3002<\/li>\n<\/li>\n<\/ul>\n<p> <span class=\"token comment\">\/\/ \u4ee5\u6307\u6570\u5f62\u5f0f\u8f93\u51fa\u6d6e\u70b9\u6570&#xff0c;%e\u4e3a\u6307\u6570\u5f62\u5f0f\u683c\u5f0f\u5316\u7b26\u53f7<\/span><br \/>\n <span class=\"token function\">printf<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;%e\\\\n&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token number\">10000000.00<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/ \u8f93\u51fa&#xff1a;1.000000e&#043;07<\/span><\/p>\n<h4>\u5b57\u7b26\u578b\u6570\u636e<\/h4>\n<p>**\u6982\u5ff5&#xff1a;**\u5b57\u7b26\u578b\u53d8\u91cf\u7528\u4e8e\u5b58\u50a8\u5355\u4e2a\u5b57\u7b26\u5e38\u91cf&#xff08;\u67e5\u770bASCII\u5b57\u7b26\u96c6&#xff09;<\/p>\n<p>\u5b9a\u4e49\u683c\u5f0f&#xff1a;<\/p>\n<p><span class=\"token keyword\">char<\/span> \u53d8\u91cf\u5217\u8868<span class=\"token punctuation\">;<\/span><\/p>\n<h5>\u57fa\u7840\u793a\u4f8b<\/h5>\n<p><span class=\"token keyword\">char<\/span> a <span class=\"token operator\">&#061;<\/span> <span class=\"token char\">&#039;A&#039;<\/span><span class=\"token punctuation\">;<\/span>    <span class=\"token comment\">\/\/ \u8d4b\u503c\u5b57\u7b26\u5e38\u91cf&#xff08;\u5355\u5f15\u53f7\u62ec\u8d77&#xff09;<\/span><br \/>\n<span class=\"token keyword\">char<\/span> b <span class=\"token operator\">&#061;<\/span> a<span class=\"token punctuation\">;<\/span>      <span class=\"token comment\">\/\/ \u8d4b\u503c\u5b57\u7b26\u53d8\u91cf<\/span><\/p>\n<h5>\u793a\u4f8b&#xff1a;\u5b57\u7b26\u578b\u5e38\u91cf\u7684\u8f93\u51fa\u5f62\u5f0f<\/h5>\n<p><span class=\"token macro property\"><span class=\"token directive-hash\">#<\/span><span class=\"token directive keyword\">include<\/span> <span class=\"token string\">&lt;stdio.h&gt;<\/span><\/span><\/p>\n<p><span class=\"token keyword\">int<\/span> <span class=\"token function\">main<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">int<\/span> argc<span class=\"token punctuation\">,<\/span><span class=\"token keyword\">char<\/span> <span class=\"token operator\">*<\/span>argv<span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">char<\/span> c1<span class=\"token punctuation\">,<\/span>c2<span class=\"token punctuation\">;<\/span><br \/>\n    c1 <span class=\"token operator\">&#061;<\/span> <span class=\"token char\">&#039;A&#039;<\/span><span class=\"token punctuation\">;<\/span>  <span class=\"token comment\">\/\/ \u8d4b\u503c\u5b57\u7b26\u5e38\u91cf<\/span><br \/>\n    c2 <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">66<\/span><span class=\"token punctuation\">;<\/span>   <span class=\"token comment\">\/\/ \u8d4b\u503c\u5b57\u7b26\u5e38\u91cf\u5bf9\u5e94\u7684ASCII\u7801 <\/span><\/p>\n<p>    <span class=\"token comment\">\/\/ %c&#xff1a;\u4ee5\u5b57\u7b26\u5f62\u5f0f\u8f93\u51fa&#xff08;\u5c06ASCII\u7801\u8f6c\u6362\u4e3a\u5bf9\u5e94\u5b57\u7b26&#xff09;<\/span><br \/>\n    <span class=\"token function\">printf<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;c1&#061;%c\\\\n&#034;<\/span><span class=\"token punctuation\">,<\/span> c1<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/ c1&#061;A<\/span><br \/>\n    <span class=\"token function\">printf<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;c2&#061;%c\\\\n&#034;<\/span><span class=\"token punctuation\">,<\/span> c2<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/ c2&#061;B<\/span><\/p>\n<p>    <span class=\"token comment\">\/\/ %d&#xff1a;\u4ee5\u6574\u6570\u5f62\u5f0f\u8f93\u51fa&#xff08;\u76f4\u63a5\u8f93\u51faASCII\u7801\u503c&#xff09;<\/span><br \/>\n    <span class=\"token function\">printf<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;c1&#061;%d\\\\n&#034;<\/span><span class=\"token punctuation\">,<\/span> c1<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/ c1&#061;65&#xff08;A \u7684 ASCII\u7801\u662f 65&#xff09;<\/span><br \/>\n    <span class=\"token function\">printf<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;c2&#061;%d\\\\n&#034;<\/span><span class=\"token punctuation\">,<\/span> c2<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/ c2&#061;66&#xff08;B \u7684 ASCII\u7801\u662f 66&#xff09;<\/span><\/p>\n<p>    <span class=\"token keyword\">return<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>\u6ce8\u610f&#xff1a;\u5982\u679c\u7ed9char\u8d4b\u503c\u6574\u6570&#xff0c;\u9700\u8981\u8003\u8651\u8d4b\u503c\u7684\u6574\u6570\u8303\u56f4&#xff0c;\u56e0\u4e3a\u6807\u51c6ASCII\u7684\u8303\u56f4\u662f0~127<\/p>\n<p>\u6838\u5fc3\u8bf4\u660e&#xff1a;<\/p>\n<ul>\n<li>\u5b57\u7b26\u53d8\u91cf\u4ec5\u80fd\u5b58\u653e\u5355\u4e2a\u5b57\u7b26&#xff08;ASCII \u5b57\u7b26&#xff09;&#xff0c;\u6c49\u5b57\u3001\u4e2d\u6587\u7b26\u53f7\u7b49\u5360\u591a\u5b57\u8282\u7684\u5b57\u7b26\u65e0\u6cd5\u5b58\u653e&#xff1b;<\/li>\n<li>C \u7f16\u8bd1\u5668\u4e3a\u5b57\u7b26\u53d8\u91cf\u5206\u914d 1 \u5b57\u8282\u5185\u5b58&#xff08;1 \u5b57\u8282 &#061; 1 \u4e2a ASCII \u5b57\u7b26&#xff09;&#xff1b;<\/li>\n<li>\u5b57\u7b26\u5e38\u91cf\u5b58\u50a8\u672c\u8d28&#xff1a;\u5b58\u5165\u5b57\u7b26\u5bf9\u5e94\u7684 ASCII \u7801\u503c&#xff08;\u800c\u975e\u5b57\u7b26\u672c\u8eab&#xff09;&#xff0c;\u56e0\u6b64\u5b57\u7b26\u578b\u6570\u636e\u4e0e\u6574\u578b\u6570\u636e\u53ef\u901a\u7528\u3002<\/li>\n<\/ul>\n<h5>\u5b57\u7b26\u6570\u636e\u5728\u5185\u5b58\u4e2d\u7684\u5b58\u50a8\u5f62\u5f0f<\/h5>\n<p>\u5c06\u5b57\u7b26\u5e38\u91cf\u5b58\u5165\u5b57\u7b26\u53d8\u91cf\u65f6&#xff0c;\u5b9e\u9645\u5b58\u50a8\u7684\u662f\u8be5\u5b57\u7b26\u7684 ASCII \u7801\u503c&#xff08;\u4e8c\u8fdb\u5236\u5f62\u5f0f&#xff09;\u3002<\/p>\n<p>\u8303\u4f8b&#xff1a;char c1 &#061; &#039;a&#039;, c2 &#061; &#039;b&#039;;<\/p>\n<ul>\n<li>&#039;a&#039;\u7684 ASCII \u7801\u4e3a 97&#xff0c;&#039;b&#039;\u7684 ASCII \u7801\u4e3a 98&#xff1b;<\/li>\n<li>\u5185\u5b58\u4e2d\u4ee5\u4e8c\u8fdb\u5236\u5f62\u5f0f\u5b58\u50a8&#xff1a;<\/li>\n<\/ul>\n<h5>\u5b57\u7b26\u578b\u4e0e\u6574\u578b\u7684\u901a\u7528\u6027<\/h5>\n<p>\u56e0\u5b57\u7b26\u6570\u636e\u672c\u8d28\u662f ASCII \u7801&#xff08;\u6574\u6570&#xff09;&#xff0c;\u6545\u5b57\u7b26\u578b\u4e0e\u6574\u578b\u53ef\u901a\u7528&#xff1a;<\/p>\n<ul>\n<li>\u5b57\u7b26\u578b\u53d8\u91cf\u53ef\u8d4b\u503c\u4e3a\u6574\u6570&#xff08;ASCII \u7801\u503c&#xff09;&#xff0c;\u4e5f\u53ef\u8d4b\u503c\u4e3a\u5b57\u7b26&#xff1b;<\/li>\n<li>\u5b57\u7b26\u6570\u636e\u53ef\u53c2\u4e0e\u7b97\u672f\u8fd0\u7b97&#xff08;\u672c\u8d28\u662f ASCII \u7801\u7684\u8fd0\u7b97&#xff09;&#xff1b;<\/li>\n<li>\u8f93\u51fa\u5f62\u5f0f\u7075\u6d3b&#xff1a;%c\u4ee5\u5b57\u7b26\u5f62\u5f0f\u8f93\u51fa&#xff0c;%d\u4ee5\u6574\u6570\u5f62\u5f0f\u8f93\u51fa\u3002<\/li>\n<\/ul>\n<p>\u8bf4\u660e&#xff1a;\u6709\u7b26\u53f7char\u7684\u53d6\u503c\u8303\u56f4\u4e3a-128~127&#xff0c;\u82e5\u8d4b\u503c\u8d85\u51fa\u8303\u56f4(\u5982128)\u4f1a\u53d1\u751f\u6ea2\u51fa(\u5c5e\u4e8e\u672a\u5b9a\u4e49\u884c\u4e3a);\u4e3b\u6d41\u7f16\u8bd1\u5668\u901a\u5e38\u6309\u201c\u6a21256\u5faa\u73af\u201d\u5904\u7406(128\u5bf9\u5e94-128&#xff0c;129\u5bf9\u5e94-127),\u4f46\u7ed3\u679c\u4e0d\u5177\u5907\u8de8\u7f16\u8bd1\u5668\u517c\u5bb9\u6027\u3002<\/p>\n<h5>\u793a\u4f8b&#xff1a;\u5927\u5c0f\u5199\u5b57\u6bcd\u8f6c\u6362&#xff08;\u5229\u7528ASCII\u7801\u8fd0\u7b97&#xff09;<\/h5>\n<ul>\n<li>\n<p>\u539f\u7406&#xff1a;ASCII\u4e2d&#xff0c;\u5927\u5199\u5b57\u6bcd\u5bf9\u5e94\u76f8\u5e94\u7684\u5c0f\u5199\u5b57\u6bcd\u76f8\u5dee32&#xff08;\u4f8b\u5982&#xff1a;\u2018A\u2019 &#061; 65, \u2018a\u2019 &#061; 97&#xff09;<\/p>\n<\/li>\n<li>\n<p>\u8f6c\u6362\u89c4\u5219&#xff1a;<\/p>\n<ul>\n<li>\u5927\u5199\u8f6c\u5c0f\u5199&#xff1a;\u5927\u5199\u5b57\u6bcd &#043; 32 &#061; \u5c0f\u5199\u5b57\u6bcd<\/li>\n<li>\u5c0f\u5199\u8f6c\u5927\u5199&#xff1a;\u5c0f\u5199\u5b57\u6bcd &#8211; 32 &#061;  \u5927\u5199\u5b57\u6bcd<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u4ee3\u7801&#xff1a;<\/p>\n<p><span class=\"token macro property\"><span class=\"token directive-hash\">#<\/span><span class=\"token directive keyword\">include<\/span> <span class=\"token string\">&lt;stdio.h&gt;<\/span><\/span><\/p>\n<p><span class=\"token keyword\">int<\/span> <span class=\"token function\">main<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">int<\/span> argc<span class=\"token punctuation\">,<\/span><span class=\"token keyword\">char<\/span> <span class=\"token operator\">*<\/span>argv<span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><\/p>\n<p>    <span class=\"token keyword\">char<\/span> c1<span class=\"token punctuation\">,<\/span> c2<span class=\"token punctuation\">;<\/span><\/p>\n<p>c1 <span class=\"token operator\">&#061;<\/span> <span class=\"token char\">&#039;m&#039;<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/ \u5c0f\u5199\u8f6c\u5927\u5199<\/span><br \/>\nc2 <span class=\"token operator\">&#061;<\/span> <span class=\"token char\">&#039;Y&#039;<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/ \u5927\u5199\u8f6c\u5c0f\u5199<\/span><\/p>\n<p><span class=\"token function\">printf<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;\u8f6c\u6362\u524d&#xff1a;%c,%c\\\\n&#034;<\/span><span class=\"token punctuation\">,<\/span> c1<span class=\"token punctuation\">,<\/span> c2<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/ \u8f93\u51fa&#xff1a;m,Y<\/span><\/p>\n<p><span class=\"token comment\">\/\/ \u8f6c\u6362<\/span><br \/>\nc1 <span class=\"token operator\">&#061;<\/span> c1 <span class=\"token operator\">&#8211;<\/span> <span class=\"token number\">32<\/span><span class=\"token punctuation\">;<\/span>  <span class=\"token comment\">\/\/ \u5c06\u539f\u672cc1\u7684\u503c &#8211; 32&#xff0c;\u4e00\u4e2achar\u5728\u53c2\u4e0e\u6570\u5b66\u8ba1\u7b97\u7684\u65f6\u5019&#xff0c;\u4f1a\u81ea\u52a8\u8f6c\u6362\u4e3aint<\/span><br \/>\nc2 <span class=\"token operator\">&#061;<\/span> c2 <span class=\"token operator\">&#043;<\/span> <span class=\"token number\">32<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token function\">printf<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;\u8f6c\u6362\u540e&#xff1a;%c,%c\\\\n&#034;<\/span><span class=\"token punctuation\">,<\/span> c1<span class=\"token punctuation\">,<\/span> c2<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/ \u8f93\u51fa&#xff1a;M,y<\/span><\/p>\n<p>    <span class=\"token keyword\">return<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u57fa\u672c\u7c7b\u578b\u6570\u636e(\u91cd\u70b9)<br \/>\n\u6574\u5f62\u6570\u636e<br \/>\n\u6574\u578b\u53d8\u91cf\u7684\u5b9a\u4e49\u4e0e\u5185\u5b58\u67e5\u8be2<br \/>\n\u5b9a\u4e49\u6574\u5f62\u53d8\u91cf\u65f6&#xff0c;\u7f16\u8bd1\u5668\u4f1a\u5206\u914d\u5bf9\u5e94\u5927\u5c0f\u7684\u5185\u5b58\u7a7a\u95f4&#xff0c;\u53d8\u91cf\u540d\u4f5c\u4e3a\u8be5\u7a7a\u95f4\u7684\u6807\u8bc6&#xff0c;\u901a\u8fc7\u53d8\u91cf\u540d\u53ef\u8bbf\u95ee\u7a7a\u95f4\u4e2d\u7684\u6570\u636e\u3002<br \/>\n\u82e5\u4e0d\u786e\u5b9a\u7f16\u8bd1\u5668\u5206\u914d\u7684\u5185\u5b58\u5927\u5c0f&#xff0c;\u53ef\u901a\u8fc7sizeof\u8fd0\u7b97\u7b26\u67e5\u8be2(sizeof\u8fd4\u56de\u503c\u7684\u7c7b\u578b\u4e3asize_t&#xff0c;\u4e5f\u5c31\u662funsigned long int\u7684\u522b\u540d&#xff0c;\u901a\u5e38\u7528%ld\u683c\u5f0f\u5316\u8f93\u51fa)<br \/>\nint a  10;<br \/>\n\/\/\u8f93\u51fa&#xff1a;4&amp;#xff0<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[174,190],"topic":[],"class_list":["post-66876","post","type-post","status-publish","format-standard","hentry","category-server","tag-c","tag-190"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>C\u8bed\u8a00\u57fa\u672c\u7c7b\u578b\u6570\u636e - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/66876.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"C\u8bed\u8a00\u57fa\u672c\u7c7b\u578b\u6570\u636e - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u57fa\u672c\u7c7b\u578b\u6570\u636e(\u91cd\u70b9) \u6574\u5f62\u6570\u636e \u6574\u578b\u53d8\u91cf\u7684\u5b9a\u4e49\u4e0e\u5185\u5b58\u67e5\u8be2 \u5b9a\u4e49\u6574\u5f62\u53d8\u91cf\u65f6&#xff0c;\u7f16\u8bd1\u5668\u4f1a\u5206\u914d\u5bf9\u5e94\u5927\u5c0f\u7684\u5185\u5b58\u7a7a\u95f4&#xff0c;\u53d8\u91cf\u540d\u4f5c\u4e3a\u8be5\u7a7a\u95f4\u7684\u6807\u8bc6&#xff0c;\u901a\u8fc7\u53d8\u91cf\u540d\u53ef\u8bbf\u95ee\u7a7a\u95f4\u4e2d\u7684\u6570\u636e\u3002 \u82e5\u4e0d\u786e\u5b9a\u7f16\u8bd1\u5668\u5206\u914d\u7684\u5185\u5b58\u5927\u5c0f&#xff0c;\u53ef\u901a\u8fc7sizeof\u8fd0\u7b97\u7b26\u67e5\u8be2(sizeof\u8fd4\u56de\u503c\u7684\u7c7b\u578b\u4e3asize_t&#xff0c;\u4e5f\u5c31\u662funsigned long int\u7684\u522b\u540d&#xff0c;\u901a\u5e38\u7528%ld\u683c\u5f0f\u5316\u8f93\u51fa) int a 10; \/\/\u8f93\u51fa&#xff1a;4&amp;#xff0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/66876.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-01-27T11:33:50+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/66876.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/66876.html\",\"name\":\"C\u8bed\u8a00\u57fa\u672c\u7c7b\u578b\u6570\u636e - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-01-27T11:33:50+00:00\",\"dateModified\":\"2026-01-27T11:33:50+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/66876.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/66876.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/66876.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"C\u8bed\u8a00\u57fa\u672c\u7c7b\u578b\u6570\u636e\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"C\u8bed\u8a00\u57fa\u672c\u7c7b\u578b\u6570\u636e - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/66876.html","og_locale":"zh_CN","og_type":"article","og_title":"C\u8bed\u8a00\u57fa\u672c\u7c7b\u578b\u6570\u636e - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u57fa\u672c\u7c7b\u578b\u6570\u636e(\u91cd\u70b9) \u6574\u5f62\u6570\u636e \u6574\u578b\u53d8\u91cf\u7684\u5b9a\u4e49\u4e0e\u5185\u5b58\u67e5\u8be2 \u5b9a\u4e49\u6574\u5f62\u53d8\u91cf\u65f6&#xff0c;\u7f16\u8bd1\u5668\u4f1a\u5206\u914d\u5bf9\u5e94\u5927\u5c0f\u7684\u5185\u5b58\u7a7a\u95f4&#xff0c;\u53d8\u91cf\u540d\u4f5c\u4e3a\u8be5\u7a7a\u95f4\u7684\u6807\u8bc6&#xff0c;\u901a\u8fc7\u53d8\u91cf\u540d\u53ef\u8bbf\u95ee\u7a7a\u95f4\u4e2d\u7684\u6570\u636e\u3002 \u82e5\u4e0d\u786e\u5b9a\u7f16\u8bd1\u5668\u5206\u914d\u7684\u5185\u5b58\u5927\u5c0f&#xff0c;\u53ef\u901a\u8fc7sizeof\u8fd0\u7b97\u7b26\u67e5\u8be2(sizeof\u8fd4\u56de\u503c\u7684\u7c7b\u578b\u4e3asize_t&#xff0c;\u4e5f\u5c31\u662funsigned long int\u7684\u522b\u540d&#xff0c;\u901a\u5e38\u7528%ld\u683c\u5f0f\u5316\u8f93\u51fa) int a 10; \/\/\u8f93\u51fa&#xff1a;4&amp;#xff0","og_url":"https:\/\/www.wsisp.com\/helps\/66876.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-01-27T11:33:50+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/66876.html","url":"https:\/\/www.wsisp.com\/helps\/66876.html","name":"C\u8bed\u8a00\u57fa\u672c\u7c7b\u578b\u6570\u636e - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-01-27T11:33:50+00:00","dateModified":"2026-01-27T11:33:50+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/66876.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/66876.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/66876.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"C\u8bed\u8a00\u57fa\u672c\u7c7b\u578b\u6570\u636e"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/66876","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=66876"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/66876\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=66876"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=66876"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=66876"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=66876"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}