Blogtrottr
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中 
Own the Game.

Elevate your game with the newest adidas men's soccer footwear and apparel.
From our sponsors
求解c++程式(非常急需
Jan 1st 2014, 17:06

求解c++非常急需拜託拜託,謝謝

1.寫一程式,先宣告一陣列:int arr[4][6],並以rand()方式產生亂數設定給arr陣列的每個元素。接著將陣列每一列個別排序(由大至小排序)後顯示在螢幕上。(先顯示arr排序前在顯示排序後)。

2.求下列程式執行結果:
char strl[100]="www.ncut.edu.tw";
int mat1[10]={3,5,6,2,0,1,7,9,3,-8};
int mat2[12]={2,4,6,8,3,5,7,9,1,4,7,0};
int c,d,e,*p1,*p2;
char f,*ptrl;
p1=mat1; p2=mat2; ptrl=strl;
printf("(a)=%s",ptrl+2);
printf("(b)=%c",*ptrl);
c=mat1[mat2[4]+3];
d=*p2+6;
e=*(p2+*p1*3);
f=*(ptrl+*(p1+7));

This entry passed through the Full-Text RSS service — if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 aploks 的頭像
    aploks

    2016 台北日本料理推薦 , 台北日本料理吃到飽 , 台北日本料理名店 , 台北日本料理吃到飽推薦 , 台北日本料理推薦2014

    aploks 發表在 痞客邦 留言(0) 人氣()