What is the output of the following code fragment?
int x=0;
while( x < 5)
cout << x << endl;
x ++;
cout << x << endl;
a. 0
b. 5
c. 4
d. unable to determine
d. unable to determine
Computer Science & Information Technology
You might also like to view...
A new business with five computers moves into an office where coaxial cable exists. In order to use the existing infrastructure, which of the following topologies would be used?
A. Spanning Tree B. Star C. Mesh D. Bus
Computer Science & Information Technology
Each record in a linked list:
a. Has at least one extra field to hold the links. b. Has all of the related data to one entity of the file. c. Has only one extra field to hold the links. d. Used one of the existing fields as the links. e. a and b.
Computer Science & Information Technology