Suppose x is 1. What is x after x -= 1?
a. 0
b. 1
c. 2
d. -1
e. -2
a. 0
You might also like to view...
Data is removed from a stack in the _____ _______ it was entered.
a) same order b) reverse order c) alternating order d) sorted order
Any device connected to a network is generically termed a(n) ____ or station.
A. array B. node C. server D. transmitter
Assume that the intCounter variable is declared as an int for both a and b. Identify and correct the error(s) in each of the following:
a) This statement should display in a ListBox all numbers from 100 to 1 in decreasing order. ``` for ( intCounter = 100; intCounter >= 1 ) { lstDisplay.Items.Add( intCounter ); } ``` b) The following code should display in a ListBox the odd ints from 19 to 1 in decreas-ing order. ``` for ( intCounter = 19; intCounter >= 1; intCounter-- ) { lstDisplay.Items.Add( intCounter ); } ```
In a ____ programming language the data type for a variable will not change after it has been declared.
A. loosely typed B. strongly typed C. constantly typed