108 年 108年公務人員高等考試三級考試暨普通考試・計算機概要 6下列以C語言撰寫的程式執行後產生的輸出為何?#include<stdio.h>void swap(int lhs, int rhs) {int tmp;tmp = lhs;lhs = rhs;rhs = tmp;}int main() {int a = 10, b = 20;swap(a, b);printf("%d %d", a, b);return 0;} A20 10B10 20C10 10D20 20 看答案與解析