Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Error in my C program. Please help.
조회 수: 1 (최근 30일)
이전 댓글 표시
int
show_matrix(float c[9][27], int size1=9, int size2=9)
ERROR=expected ';' ',' or ')' before '=' token
댓글 수: 3
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
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!