5個小練習

1 //給定兩個整形變量的值,將兩個值的內容進行交換web #include<stdio.h> #include<stdlib.h> int main() { int a = 1; int b = 2; int c = 0; printf("a = %d b = %d\n", a, b); c = a; a = b; b = c; printf("a = %d b = %d\n"
相關文章
相關標籤/搜索