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