Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Error in my C program. Please help.

1 visualizzazione (ultimi 30 giorni)
Virajan Verma
Virajan Verma il 26 Nov 2018
Chiuso: Jan il 26 Nov 2018
int
show_matrix(float c[9][27], int size1=9, int size2=9)
ERROR=expected ';' ',' or ')' before '=' token
  3 Commenti
Torsten
Torsten il 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
Walter Roberson il 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

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by