A directory of Objective Type Questions covering all the Computer Science subjects. Here you can access and discuss Multiple choice questions and answers for various compitative exams and interviews.

Discussion Forum

Que. Which one of the following will set the value of y to 5 if x has the value 3, but not otherwise?
a. if (x = 3) y = 5
b. if x = = 3 (y = 5)
c. if (x = = 3); y = 5
d. if (x = = 3) y = 5
Answer:if (x = = 3) y = 5
Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here

Similar Questions: