What Is the Value of Ans After the Following Code

Question 24
Multiple Choice

What is the value of ans after the following code has been executed? int x = 40; Int y = 40; Int ans = 0; If (x = y) Ans = x + 10; A) 50 B) 80 C) 30 D) No value,this is a syntax error.