c-end-of-statement is an interactive compiled Lisp function in `cc-cmds.el'.

(c-end-of-statement &optional COUNT LIM SENTENCE-FLAG)

Go to the end of the innermost C statement.
With prefix arg, go forward N - 1 statements. Move forward to the end
of the next statement if already at end, and move into nested blocks
(use C-M-f to skip over a block). If within or next to a
comment or multiline string, move by sentences instead of statements.

When called from a program, this function takes 3 optional args: the
repetition count, a buffer position limit which is the farthest back
to search for the syntactic context, and a flag saying whether to do
sentence motion in or near comments and multiline strings.