Untitled Quiz - Answers
Untitled Quiz - Answers
Answers
The function header indicates the return type and parameters of the
function.
A. int
B. char
C. float
D. long
B. To define a function
C. To declare a variable
D. To call a function
A. To print a message
A. 8 bytes
B. 4 bytes
C. 2 bytes
D. 1 byte
A. To print a message
C. To declare a variable
D. To call a function
A. y = 5, x = 6
B. y = 5, x = 5
C. y = 6, x = 6
D. y = 6, x = 5
Answer: y = 5, x = 6 (A)
The postfix increment operator ++ first assigns the value of the
operand to the variable y, then increments the value of the operand x.
A. 3.0
B. 5.0
C. 1.0
D. 1.66666