C++冷知識~~~
#include<iostream>
using namespace std;
int main()
{
int a,b;
a=1,2,3,4,5;//輸出第一個值, a=1;
b=(1,2,3,4,5);//輸出最後一個值, a=5;
cout<<a<<endl;
cout<<b<<endl;
int c[10]={1,2,3,4,5,6,7,8,9,0},b=10;
while(b --> 0)cout <<c[b]<<" ";//輸出0 9 8 7 6 5 4 3 2 1 ;
cout<<endl;
int d=10;
while(d --> 0)cout <<d<<" ";//輸出9 8 7 6 5 4 3 2 1 0;
return 0;
}