Alcap Posted August 15, 2006 at 11:02 AM Report #44334 Posted August 15, 2006 at 11:02 AM Boas, Qual é o uso desta funçao num programa? Ainda nao percebi muito bem isto:(
Hipnoted Posted August 15, 2006 at 11:52 AM Report #44342 Posted August 15, 2006 at 11:52 AM Devolve um valor... "Nunca discutas com um idiota. Eles arrastam-te até ao seu nível e depois ganham-te em experiência"
Rui Carlos Posted August 15, 2006 at 01:32 PM Report #44356 Posted August 15, 2006 at 01:32 PM o return não é uma função, mas sim uma instrução. esta instrução faz com que a função actual termine e permite devolver um valor para a função que a chamou (ou para o SO caso a função seja a main). este link talvez explique melhor o que o return faz... http://www.acm.uiuc.edu/webmonkeys/book/c_guide/1.6.html#return Rui Carlos Gonçalves
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now