Re: [問題] 一個簡單的c問題
main不能用一般function傳的方法
這在施威銘 c語言徹底研究是基本問題
==> kenduest.bbs@bbs.sayya.org (小州) 提到:
: ※ 引述《datagram.bbs@ptt.cc》之銘言:
: > #include <stdio.h>
: > #include <stdlib.h>
: > void trying(float *b)
: > {
: > *b=4;
: > }
: > int main()
: > {
: > float *b;
: > trying(b);
: > printf("b=%3.2f ",b);
: > }
--
◎龍貓資訊天地(bbs.mgt.ncu.edu.tw)
◎[brucetsao]From: 140.115.82.88
討論串 (同標題文章)
Programming 近期熱門文章
PTT數位生活區 即時熱門文章