Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Error in my C program. Please help.

2 ビュー (過去 30 日間)
Virajan Verma
Virajan Verma 2018 年 11 月 26 日
閉鎖済み: Jan 2018 年 11 月 26 日
int
show_matrix(float c[9][27], int size1=9, int size2=9)
ERROR=expected ';' ',' or ')' before '=' token
  3 件のコメント
Torsten
Torsten 2018 年 11 月 26 日
show_matrix(float c, int size1, int size2)
Define c and assign values to size1 and size2 before calling "show_matrix".
Walter Roberson
Walter Roberson 2018 年 11 月 26 日
C does not permit defining default values of parameters and does not permit initializing local variables in the function declaration or definition

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by