Vidyalelo
C Programming · Q161

C Fundamentals

Programming · C Programming · question 161

Q161

What is the type of the following assignment expression if x is of type float and y is of type int? y = x + y;

A.
int
Answer
B.
float
C.
there is no type for an assignment expression
D.
double

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board