Blogtrottr
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 已解決
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 已解決
試寫一函數 可接收一個指向字串的指標變數
Jun 16th 2013, 14:29

[unable to retrieve full-text content]

#include #include void display(char *,int); int main(void) { char *ptr="We are best friend."; int n=7; display(ptr,n); system("pause"); return 0; } void display(char *ptr, int n) { char *str=ptr; str=str+n; puts(str); }...

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
    全站熱搜

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