Givenchar ch;int num;double pay;Which of the following assignment statements are valid?(i)   ch = '*';(ii)  pay = num * pay;(iii) rate * 40 = pay;

A. Only (i) is valid
B. (i) and (ii) are valid
C. (ii) and (iii) are valid
D. (i) and (iii) are valid


Answer: B

Computer Science & Information Technology

You might also like to view...

When drawing a table, you should always begin with the inside columns of the table

Indicate whether the statement is true or false

Computer Science & Information Technology

A new web application has suffered several overflow attacks in the first week of its implementation. What type of testing could have identified these bugs in the code?

A. fuzzing B. ping scan C load testing D. latency test

Computer Science & Information Technology

Splunk automatically determines the source type for major data types.

a. true b. false

Computer Science & Information Technology

Panels can be opened using the Window menu commands or the corresponding ________keys.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology