What is the value of Int(8.9)?

A. 8
B. 8.9
C. 9
D. 1


A. 8

Computer Science & Information Technology

You might also like to view...

Assigning an object of a derived class to a variable of a base class is called:

(a) static binding (b) dynamic binding (c) upcasting (d) downcasting

Computer Science & Information Technology

Write a declaration for each of the following:

a) Integer count that should be maintained in a register. Initialize count to 0. b) Double-precision, floating-point variable

Computer Science & Information Technology

The following code searches a linked structure. What is the missing code? probe = headwhile probe != None and targetItem != probe.data: if probe != None: print("Target item found!")else: print("Target item not found!")

A. probe.data = next.data B. probe.next = targetItem.data C. probe = probe.next D. probe.head = probe.next

Computer Science & Information Technology

Which of the following mathematical operators in the C programming language increments the unary value by 1?

A. + B. % C. ++ D. &

Computer Science & Information Technology