Solved

If X Is an Int and Y Is a Float

Question 27

Multiple Choice

If x is an int and y is a float, which of the following statements is not a legal assignment statement?


A) y = x;
B) x = y;
C) y = (float) x;
D) x = (int) y;
E) All of these are legal assignment statements

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents