Chapter - 12: Console Input-Output

Which function would you use if a single key were to be received through the keyboard?


C
Sections
2
Exercises

A

B

C

D

1

2

3

4

5

6

1. scanf( )
2. gets( )
3. getche( )
4. getchar( )


Ans: 2. getche()


© 2020 Garbage Valuegarbage value logo