A

Admin • 833K Points
Coach

Q. See the given code of JavaScript and choose the correct output from the following:

Code:
functioncomparing()
{
intx=9;
chary=9;
if(x==y)
returntrue;
else
returnfalse;
}
  • (A) compilation error
  • (B) false
  • (C) runtime error
  • (D) true
  • Correct Answer - Option(D)
  • Views: 26
  • Filed under category JavaScript
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.