E' un errore inserire due return nella stessa funzione ? Se si, che problemi potrebbe creare ?
Esempio:
codice:int funzione(int a, int b) { if (a>b) return a; else return b; }
E' un errore inserire due return nella stessa funzione ? Se si, che problemi potrebbe creare ?
Esempio:
codice:int funzione(int a, int b) { if (a>b) return a; else return b; }