logo

Crowdly

Browser

Add to Chrome

Podana je naslednja definicija funkcije: int f(int *t, int n) { /*tu manjk...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Podana je naslednja definicija funkcije:

int f(int *t, int n) {

/*tu manjka koda*/

return -1;

}

Kaj moramo vstaviti na mesto komentarja, da bo funkcija vrnila vrednost prvega elementa tabele t, ki je večji ali enak nič? Če takšnega elementa ni, naj funkcija vrne vrednost -1. V tabeli t je n elementov.

0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on ucilnica-fe.uni-lj.si?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome