How to write the function.is it exactly like the C function.
Yes.
Korman
is it exactly like the C function
Possibly. Please put your question in context.
Mowcius
Your poll is missing the "OP is a doofus option".
Your poll is missing the "OP is a doofus option".
;D
But yes is just as good an answer as no with a question like this.