Using return, return0. anort and exit

Status
Not open for further replies.

lcs81

Member level 3
Joined
Aug 2, 2005
Messages
57
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,683
How to know when to use the statement "return"?

What the diffrent between return & return0?

Any one know how to use abort and exit?

[/i]
 

return0? anort? Which language is that?
 

Re: Using return, return0. abort and exit

C language
 

The C language doesn't have anything called "return0" and "anort".

A "return" statement terminates execution of the current function and returns control to its caller.

Here are descriptions of "abort" and "exit" from the C standard:


For tutorials and examples, grab your nearest good C book.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…