INPUT OUTPUT FUNCTIONS Flashcards

Lecture 12

1
Q

scanf()

A

Reads the sequence of characters from the keyboard

Use ‘&’

Ignores white spaces

Input function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

printf()

A

Prints on screen any characters
it encounters - except when it reaches a % character.

Output function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly