Library Functions

26

Which standard library function will you use to find the last occurance of a character in a string in C?


A. strnchar()
B. strchar()
C. strrchar()
D. strrchr()

27

What is the purpose of fflush() function.

A. flushes all streams and specified streams.
B. flushes only specified stream.
C. flushes input/output buffer.
D. flushes file buffer.