BOX
REVIEW
GO
The function that reads a single character from the
standard input is:
a putchar()
b getc()
c getchar()
d readchar()
Select one:
That is correct!
You've got it on the 2nd try.
You've got it finally!
Sorry, try again.
No, try one more time.
Please review Lesson 3, Topic 7: The while Statement.
FORGET1
The correct answer is c . ???hint
Which of the following statements is INCORRECT?
a A file pointer is the argument to fclose().
b int *malloc() char size;
c sizeof() returns the size of an object in bytes.
d The function scanf() is the inverse of printf().
Select one:
That is correct!
You've got it on the 2nd try.
You've got it finally!
Sorry, try again.
No, try one more time.
Please review Topic 3: Single Character Standard I/O.
FORGET2
The correct answer is b . ???hint
Given: scanf(" %f, %d, %c", a,b,c)
Provided all types are correct, which assignments take place
with the input:
123 579M
a a = 123.1, b = 5, c = ' '
b a = 123, b = 5, c = 7
c a = 0, b = 123, c = ' '
d a = 123.0, b = 579, c = M
Select one:
That is correct!
You've got it on the 2nd try.
You've got it finally!
Sorry, try again.
No, try one more time.
Please review Topic 7: Formatted Text File I/O.
FORGET3
The correct answer is d . ???hint