# C語言題庫-062 下面的代碼片段的輸出是什麼,爲什麼? ``` char *ptr; if ((ptr = (char *)malloc(0)) == NULL) puts(“Gota null pointer”); else puts(“Gota valid pointer”); ``` 【參考答案】這個你可以先大膽猜測下,然後再用你的 編譯器嘗試着編譯下~~ 100 條經典 C語言筆試題目 歡迎進入C語言程序筆試面試,編寫程序代碼單元。
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up