Error in my C program. Please help.
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
int
show_matrix(float c[9][27], int size1=9, int size2=9)
ERROR=expected ';' ',' or ')' before '=' token
3 Kommentare
madhan ravi
am 26 Nov. 2018
But this is Matlab community?
Torsten
am 26 Nov. 2018
show_matrix(float c, int size1, int size2)
Define c and assign values to size1 and size2 before calling "show_matrix".
Walter Roberson
am 26 Nov. 2018
C does not permit defining default values of parameters and does not permit initializing local variables in the function declaration or definition
Antworten (0)
Diese Frage ist geschlossen.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!