Chapter - 12: Console Input-Output

If an integer is to be entered through the keyboard, which function would you use?


C
Sections
3
Exercises

A

B

C

D

1

2

3

4

5

6

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


Ans: 1. scanf()


© 2020 Garbage Valuegarbage value logo