Page 1 of 1

8.Which function can you call to make sure there are no extra characters waiting in stdin before prompting the user for

Posted: Tue Jul 12, 2022 8:17 am
by answerhappygod
8.Which function can you call to make sure there are no extracharacters waiting in stdin before prompting the user forinput?
a) scanf ()
b) gets ()
c) getch()
d) puts ()