# C語言題庫-008 c和c++ 中的struct有什麼不同? 【標準答案】c和c++ 中struct的主要區別是c中的struct 不可以含有成員函數,而c++ 中的struct可以。c++ 中 struct和class的主要區別在於默認的存取權限不同, struct默認爲public ,而class默認爲private
×
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