Given the code fragments:
and
What is the result?
A. TV Price :110 Refrigerator Price :2100
B. A compilation error occurs.
C. TV Price :1000 Refrigerator Price :2000
D. The program prints nothing.
Given the code fragments:
and
What is the result?
A. TV Price :110 Refrigerator Price :2100
B. A compilation error occurs.
C. TV Price :1000 Refrigerator Price :2000
D. The program prints nothing.
A
Answer is A
tested….