{"id":3407,"date":"2025-04-01T23:23:53","date_gmt":"2025-04-01T15:23:53","guid":{"rendered":"https:\/\/www.laixuexila.com\/?p=3407"},"modified":"2025-04-01T23:23:53","modified_gmt":"2025-04-01T15:23:53","slug":"c-%e8%af%ad%e8%a8%80%e4%b8%ad-%e5%87%bd%e6%95%b0%e6%8c%87%e9%92%88","status":"publish","type":"post","link":"https:\/\/www.laixuexila.com\/index.php\/2025\/04\/01\/c-%e8%af%ad%e8%a8%80%e4%b8%ad-%e5%87%bd%e6%95%b0%e6%8c%87%e9%92%88\/","title":{"rendered":"C \u8bed\u8a00\u4e2d \u51fd\u6570\u6307\u9488"},"content":{"rendered":"\n<p>C \u8bed\u8a00\u4e2d\u7684 <strong>\u51fd\u6570\u6307\u9488<\/strong> \u662f\u6307\u5411\u51fd\u6570\u7684\u6307\u9488\u53d8\u91cf\u3002\u901a\u8fc7\u51fd\u6570\u6307\u9488\uff0c\u6211\u4eec\u53ef\u4ee5\u5b9e\u73b0\u4ee5\u4e0b\u7279\u6027\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u52a8\u6001\u8c03\u7528\u51fd\u6570<\/strong>\uff1a\u51fd\u6570\u6307\u9488\u4f7f\u5f97\u6211\u4eec\u53ef\u4ee5\u5728\u7a0b\u5e8f\u8fd0\u884c\u65f6\u52a8\u6001\u9009\u62e9\u8981\u8c03\u7528\u7684\u51fd\u6570\u3002<\/li>\n\n\n\n<li><strong>\u56de\u8c03\u673a\u5236<\/strong>\uff1a\u901a\u8fc7\u5c06\u51fd\u6570\u6307\u9488\u4f20\u9012\u7ed9\u5176\u4ed6\u51fd\u6570\uff0c\u53ef\u4ee5\u5728\u7279\u5b9a\u4e8b\u4ef6\u53d1\u751f\u65f6\u8c03\u7528\u56de\u8c03\u51fd\u6570\u3002<\/li>\n\n\n\n<li><strong>\u7b80\u5316\u4ee3\u7801<\/strong>\uff1a\u5bf9\u4e8e\u9700\u8981\u8c03\u7528\u591a\u4e2a\u76f8\u4f3c\u51fd\u6570\u7684\u573a\u666f\uff0c\u4f7f\u7528\u51fd\u6570\u6307\u9488\u53ef\u4ee5\u7b80\u5316\u4ee3\u7801\u7ed3\u6784\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u4e0b\u9762\u6211\u5c06\u8be6\u7ec6\u89e3\u91ca C \u8bed\u8a00\u4e2d\u51fd\u6570\u6307\u9488\u7684\u5b9a\u4e49\u3001\u4f7f\u7528\u65b9\u5f0f\u3001\u5e94\u7528\u573a\u666f\u4ee5\u53ca\u4e00\u4e9b\u5e38\u89c1\u7684\u6ce8\u610f\u4e8b\u9879\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>1. \u51fd\u6570\u6307\u9488\u7684\u5b9a\u4e49<\/strong><\/h2>\n\n\n\n<p>\u51fd\u6570\u6307\u9488\u7684\u5b9a\u4e49\u8bed\u6cd5\u76f8\u5bf9\u590d\u6742\uff0c\u4f46\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u7406\u89e3\uff1a<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>1.1 \u57fa\u672c\u8bed\u6cd5<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>return_type (*pointer_name)(parameter_types);<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>return_type<\/code>\uff1a\u51fd\u6570\u8fd4\u56de\u7c7b\u578b\u3002<\/li>\n\n\n\n<li><code>pointer_name<\/code>\uff1a\u6307\u9488\u53d8\u91cf\u7684\u540d\u5b57\u3002<\/li>\n\n\n\n<li><code>parameter_types<\/code>\uff1a\u51fd\u6570\u53c2\u6570\u7c7b\u578b\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u4f8b\u5982\uff0c\u5b9a\u4e49\u4e00\u4e2a\u6307\u5411\u8fd4\u56de <code>int<\/code> \u5e76\u4e14\u63a5\u53d7 <code>int<\/code> \u7c7b\u578b\u53c2\u6570\u7684\u51fd\u6570\u7684\u6307\u9488\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>int (*func_ptr)(int);<\/code><\/pre>\n\n\n\n<p>\u8fd9\u8868\u793a <code>func_ptr<\/code> \u662f\u4e00\u4e2a\u6307\u9488\uff0c\u6307\u5411\u4e00\u4e2a\u63a5\u53d7 <code>int<\/code> \u7c7b\u578b\u53c2\u6570\u5e76\u8fd4\u56de <code>int<\/code> \u7c7b\u578b\u7684\u51fd\u6570\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>2. \u51fd\u6570\u6307\u9488\u7684\u4f7f\u7528<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>2.1 \u5b9a\u4e49\u51fd\u6570\u6307\u9488\u5e76\u8c03\u7528<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;stdio.h&gt;\n\n\/\/ \u51fd\u6570\u58f0\u660e\nint add(int a, int b);\n\nint main() {\n    int (*func_ptr)(int, int);  \/\/ \u5b9a\u4e49\u51fd\u6570\u6307\u9488\n    func_ptr = add;  \/\/ \u5c06\u51fd\u6570\u6307\u9488\u6307\u5411 add \u51fd\u6570\n    int result = func_ptr(10, 20);  \/\/ \u4f7f\u7528\u51fd\u6570\u6307\u9488\u8c03\u7528\u51fd\u6570\n    printf(\"Result: %d\\n\", result);  \/\/ \u8f93\u51fa\u7ed3\u679c\n    return 0;\n}\n\n\/\/ \u51fd\u6570\u5b9a\u4e49\nint add(int a, int b) {\n    return a + b;\n}<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u89e3\u91ca<\/strong>\uff1a<\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li><code>int (*func_ptr)(int, int);<\/code> \u5b9a\u4e49\u4e86\u4e00\u4e2a\u6307\u5411\u51fd\u6570\u7684\u6307\u9488 <code>func_ptr<\/code>\uff0c\u8be5\u51fd\u6570\u63a5\u53d7\u4e24\u4e2a <code>int<\/code> \u7c7b\u578b\u7684\u53c2\u6570\u5e76\u8fd4\u56de <code>int<\/code> \u7c7b\u578b\u7684\u503c\u3002<\/li>\n\n\n\n<li><code>func_ptr = add;<\/code> \u5c06\u6307\u9488 <code>func_ptr<\/code> \u6307\u5411 <code>add<\/code> \u51fd\u6570\u3002<\/li>\n\n\n\n<li>\u4f7f\u7528 <code>func_ptr(10, 20)<\/code> \u8c03\u7528\u51fd\u6570\uff0c\u5c31\u50cf\u76f4\u63a5\u8c03\u7528 <code>add(10, 20)<\/code> \u4e00\u6837\u3002<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>2.2 \u4f7f\u7528 <code>typedef<\/code> \u7b80\u5316\u51fd\u6570\u6307\u9488\u7684\u5b9a\u4e49<\/strong><\/h3>\n\n\n\n<p>\u51fd\u6570\u6307\u9488\u7684\u5b9a\u4e49\u8f83\u4e3a\u7e41\u7410\uff0c\u53ef\u4ee5\u4f7f\u7528 <code>typedef<\/code> \u6765\u7b80\u5316\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;stdio.h&gt;\n\n\/\/ \u4f7f\u7528 typedef \u7b80\u5316\u51fd\u6570\u6307\u9488\u7684\u5b9a\u4e49\ntypedef int (*FuncPtr)(int, int);  \n\nint add(int a, int b) {\n    return a + b;\n}\n\nint main() {\n    FuncPtr func_ptr = add;  \/\/ \u4f7f\u7528 typedef \u5b9a\u4e49\u51fd\u6570\u6307\u9488\n    printf(\"Result: %d\\n\", func_ptr(10, 20));  \/\/ \u8c03\u7528\u51fd\u6570\n    return 0;\n}<\/code><\/pre>\n\n\n\n<p>\u8fd9\u6837\uff0c<code>FuncPtr<\/code> \u5c31\u662f\u4e00\u4e2a\u65b0\u7684\u7c7b\u578b\uff0c\u5b83\u4ee3\u8868\u4e86\u4e00\u4e2a\u63a5\u53d7\u4e24\u4e2a <code>int<\/code> \u7c7b\u578b\u53c2\u6570\u5e76\u8fd4\u56de <code>int<\/code> \u7c7b\u578b\u7684\u51fd\u6570\u6307\u9488\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>3. \u51fd\u6570\u6307\u9488\u4f5c\u4e3a\u51fd\u6570\u53c2\u6570<\/strong><\/h2>\n\n\n\n<p>\u51fd\u6570\u6307\u9488\u53ef\u4ee5\u4f5c\u4e3a\u51fd\u6570\u7684\u53c2\u6570\u4f20\u9012\uff0c\u901a\u5e38\u7528\u4e8e\u56de\u8c03\u673a\u5236\uff08callback\uff09\uff1a<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>3.1 \u793a\u4f8b\uff1a\u56de\u8c03\u51fd\u6570<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;stdio.h&gt;\n\n\/\/ \u51fd\u6570\u58f0\u660e\nvoid operate(int a, int b, int (*operation)(int, int));\n\n\/\/ \u5177\u4f53\u64cd\u4f5c\u51fd\u6570\nint add(int a, int b) {\n    return a + b;\n}\n\nint subtract(int a, int b) {\n    return a - b;\n}\n\nint main() {\n    \/\/ \u4f7f\u7528\u56de\u8c03\u51fd\u6570\u8c03\u7528 add\n    operate(10, 5, add);  \/\/ \u8f93\u51fa \"Result: 15\"\n\n    \/\/ \u4f7f\u7528\u56de\u8c03\u51fd\u6570\u8c03\u7528 subtract\n    operate(10, 5, subtract);  \/\/ \u8f93\u51fa \"Result: 5\"\n\n    return 0;\n}\n\n\/\/ operate \u51fd\u6570\uff0c\u63a5\u53d7\u4e00\u4e2a\u64cd\u4f5c\u51fd\u6570\u4f5c\u4e3a\u53c2\u6570\nvoid operate(int a, int b, int (*operation)(int, int)) {\n    printf(\"Result: %d\\n\", operation(a, b));  \/\/ \u6267\u884c\u4f20\u5165\u7684\u51fd\u6570\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u89e3\u91ca<\/strong>\uff1a<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><code>operate<\/code> \u51fd\u6570\u63a5\u53d7\u4e24\u4e2a\u6574\u6570\u548c\u4e00\u4e2a\u51fd\u6570\u6307\u9488\u4f5c\u4e3a\u53c2\u6570\u3002\u8be5\u51fd\u6570\u6307\u9488\u6307\u5411\u4e00\u4e2a\u63a5\u53d7\u4e24\u4e2a <code>int<\/code> \u7c7b\u578b\u53c2\u6570\u5e76\u8fd4\u56de <code>int<\/code> \u7c7b\u578b\u7684\u51fd\u6570\u3002<\/li>\n\n\n\n<li><code>operate(10, 5, add)<\/code> \u8c03\u7528 <code>add<\/code> \u51fd\u6570\uff0c<code>operate(10, 5, subtract)<\/code> \u8c03\u7528 <code>subtract<\/code> \u51fd\u6570\u3002<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>4. \u6570\u7ec4\u4e0e\u51fd\u6570\u6307\u9488<\/strong><\/h2>\n\n\n\n<p>\u53ef\u4ee5\u5c06\u51fd\u6570\u6307\u9488\u5b58\u50a8\u5728\u6570\u7ec4\u4e2d\uff0c\u4ece\u800c\u52a8\u6001\u9009\u62e9\u8981\u8c03\u7528\u7684\u51fd\u6570\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;stdio.h&gt;\n\nint add(int a, int b) {\n    return a + b;\n}\n\nint subtract(int a, int b) {\n    return a - b;\n}\n\nint multiply(int a, int b) {\n    return a * b;\n}\n\nint main() {\n    \/\/ \u521b\u5efa\u51fd\u6570\u6307\u9488\u6570\u7ec4\n    int (*operations&#91;])(int, int) = {add, subtract, multiply};\n\n    \/\/ \u4f7f\u7528\u6570\u7ec4\u4e2d\u7684\u51fd\u6570\n    int result = operations&#91;0](10, 5);  \/\/ \u8c03\u7528 add \u51fd\u6570\n    printf(\"Add: %d\\n\", result);\n\n    result = operations&#91;1](10, 5);  \/\/ \u8c03\u7528 subtract \u51fd\u6570\n    printf(\"Subtract: %d\\n\", result);\n\n    result = operations&#91;2](10, 5);  \/\/ \u8c03\u7528 multiply \u51fd\u6570\n    printf(\"Multiply: %d\\n\", result);\n\n    return 0;\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u89e3\u91ca<\/strong>\uff1a<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>operations<\/code> \u662f\u4e00\u4e2a\u5b58\u50a8\u51fd\u6570\u6307\u9488\u7684\u6570\u7ec4\u3002\u6bcf\u4e2a\u5143\u7d20\u90fd\u662f\u6307\u5411\u5177\u6709\u76f8\u540c\u7b7e\u540d\uff08\u63a5\u53d7\u4e24\u4e2a <code>int<\/code> \u53c2\u6570\u5e76\u8fd4\u56de <code>int<\/code> \u7c7b\u578b\u503c\uff09\u7684\u51fd\u6570\u7684\u6307\u9488\u3002<\/li>\n\n\n\n<li>\u901a\u8fc7 <code>operations[0](10, 5)<\/code> \u8c03\u7528 <code>add<\/code> \u51fd\u6570\uff0c<code>operations[1](10, 5)<\/code> \u8c03\u7528 <code>subtract<\/code> \u51fd\u6570\uff0c\u4f9d\u6b64\u7c7b\u63a8\u3002<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>5. \u51fd\u6570\u6307\u9488\u7684\u9ad8\u7ea7\u5e94\u7528<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>5.1 \u52a8\u6001\u51fd\u6570\u52a0\u8f7d<\/strong><\/h3>\n\n\n\n<p>\u53ef\u4ee5\u901a\u8fc7\u51fd\u6570\u6307\u9488\u5728\u8fd0\u884c\u65f6\u52a8\u6001\u9009\u62e9\u8981\u8c03\u7528\u7684\u51fd\u6570\u3002\u4f8b\u5982\uff0c\u5e38\u89c1\u7684\u5e93\u51fd\u6570\u6216\u8005\u63d2\u4ef6\u53ef\u4ee5\u4f7f\u7528\u51fd\u6570\u6307\u9488\u6765\u52a8\u6001\u52a0\u8f7d\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>5.2 \u51fd\u6570\u6307\u9488\u548c\u7ed3\u6784\u4f53<\/strong><\/h3>\n\n\n\n<p>\u51fd\u6570\u6307\u9488\u53ef\u4ee5\u4f5c\u4e3a\u7ed3\u6784\u4f53\u6210\u5458\uff0c\u9002\u7528\u4e8e\u9700\u8981\u5728\u7ed3\u6784\u4f53\u4e2d\u52a8\u6001\u7ed1\u5b9a\u64cd\u4f5c\u7684\u573a\u666f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;stdio.h&gt;\n\ntypedef struct {\n    int (*operation)(int, int);\n} Operation;\n\nint add(int a, int b) {\n    return a + b;\n}\n\nint main() {\n    Operation op;\n    op.operation = add;  \/\/ \u5c06\u51fd\u6570\u6307\u9488\u8d4b\u503c\u7ed9\u7ed3\u6784\u4f53\u6210\u5458\n\n    printf(\"Result: %d\\n\", op.operation(10, 5));  \/\/ \u901a\u8fc7\u7ed3\u6784\u4f53\u8c03\u7528\u51fd\u6570\n    return 0;\n}<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>6. \u5e38\u89c1\u9519\u8bef\u53ca\u6ce8\u610f\u4e8b\u9879<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>6.1 \u51fd\u6570\u6307\u9488\u7c7b\u578b\u5339\u914d<\/strong><\/h3>\n\n\n\n<p>\u786e\u4fdd\u4f20\u9012\u7ed9\u51fd\u6570\u6307\u9488\u7684\u51fd\u6570\u7684\u7b7e\u540d\uff08\u8fd4\u56de\u7c7b\u578b\u548c\u53c2\u6570\u7c7b\u578b\uff09\u4e0e\u51fd\u6570\u6307\u9488\u7684\u7c7b\u578b\u5b8c\u5168\u5339\u914d\uff0c\u5426\u5219\u4f1a\u5bfc\u81f4\u672a\u5b9a\u4e49\u884c\u4e3a\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>int (*func_ptr)(int);  \/\/ \u51fd\u6570\u6307\u9488\u7c7b\u578b\uff1a\u8fd4\u56de int\uff0c\u53c2\u6570\u4e3a int\n\/\/ \u9519\u8bef\u7684\u51fd\u6570\u6307\u9488\u8c03\u7528\nfunc_ptr = add;<\/code><\/pre>\n\n\n\n<p><strong>\u89e3\u51b3\u65b9\u6cd5<\/strong>\uff1a\u786e\u4fdd\u51fd\u6570\u6307\u9488\u4e0e\u76ee\u6807\u51fd\u6570\u7c7b\u578b\u4e00\u81f4\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>6.2 \u4f7f\u7528 <code>NULL<\/code> \u68c0\u67e5\u6307\u9488<\/strong><\/h3>\n\n\n\n<p>\u5728\u4f7f\u7528\u51fd\u6570\u6307\u9488\u4e4b\u524d\uff0c\u68c0\u67e5\u5b83\u662f\u5426\u4e3a <code>NULL<\/code>\uff0c\u53ef\u4ee5\u907f\u514d\u56e0\u6307\u5411\u7a7a\u5730\u5740\u800c\u53d1\u751f\u7a0b\u5e8f\u5d29\u6e83\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>if (func_ptr != NULL) {\n    func_ptr(a, b);\n}<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>7. \u603b\u7ed3<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u7279\u6027<\/th><th>\u8bf4\u660e<\/th><\/tr><\/thead><tbody><tr><td>\u57fa\u672c\u5b9a\u4e49<\/td><td><code>return_type (*func_ptr)(parameter_types)<\/code><\/td><\/tr><tr><td>\u52a8\u6001\u8c03\u7528<\/td><td>\u901a\u8fc7\u51fd\u6570\u6307\u9488\u8c03\u7528\u4e0d\u540c\u7684\u51fd\u6570\uff0c\u53ef\u4ee5\u5728\u8fd0\u884c\u65f6\u51b3\u5b9a\u51fd\u6570\u7684\u9009\u62e9<\/td><\/tr><tr><td>\u56de\u8c03\u51fd\u6570<\/td><td>\u51fd\u6570\u6307\u9488\u5e38\u7528\u4e8e\u56de\u8c03\u673a\u5236\uff0c\u5c06\u51fd\u6570\u4f5c\u4e3a\u53c2\u6570\u4f20\u9012\u7ed9\u5176\u4ed6\u51fd\u6570<\/td><\/tr><tr><td>\u6570\u7ec4\u4e0e\u51fd\u6570\u6307\u9488<\/td><td>\u51fd\u6570\u6307\u9488\u6570\u7ec4\u4f7f\u5f97\u53ef\u4ee5\u52a8\u6001\u9009\u62e9\u591a\u4e2a\u51fd\u6570\u8fdb\u884c\u8c03\u7528<\/td><\/tr><tr><td>\u9ad8\u7ea7\u5e94\u7528<\/td><td>\u52a8\u6001\u51fd\u6570\u52a0\u8f7d\u3001\u7ed3\u6784\u4f53\u4e2d\u4f7f\u7528\u51fd\u6570\u6307\u9488\u7b49<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>8. \u53c2\u8003\u8d44\u6599<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.open-std.org\/jtc1\/sc22\/wg14\/www\/docs\/n2310.pdf\">ISO C \u6807\u51c6 (C18) &#8211; Function Pointers<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/gcc.gnu.org\/onlinedocs\/gcc\/Function-Pointers.html\">GCC \u5b98\u65b9\u6587\u6863 &#8211; \u51fd\u6570\u6307\u9488<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>C \u8bed\u8a00\u4e2d\u7684 \u51fd\u6570\u6307\u9488 \u662f\u6307\u5411\u51fd\u6570\u7684\u6307\u9488\u53d8\u91cf\u3002\u901a\u8fc7\u51fd\u6570\u6307\u9488\uff0c\u6211\u4eec\u53ef\u4ee5\u5b9e\u73b0\u4ee5\u4e0b\u7279\u6027\uff1a \u4e0b\u9762\u6211\u5c06\u8be6\u7ec6\u89e3\u91ca C \u8bed\u8a00 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3408,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[82],"tags":[],"class_list":["post-3407","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-c"],"_links":{"self":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/3407","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/comments?post=3407"}],"version-history":[{"count":1,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/3407\/revisions"}],"predecessor-version":[{"id":3409,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/3407\/revisions\/3409"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/media\/3408"}],"wp:attachment":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/media?parent=3407"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/categories?post=3407"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/tags?post=3407"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}