Top

Discussion

What will be the output of the program?

#include
int main()
{
    int x = 3;
    float y = 3.0;
    if(x == y)
        printf("x and y are equal");
    else
        printf("x and y are not equal");
    return 0;
}

 

  • A.x and y are equal
  • B.x and y are not equal
  • C.Unpredictable
  • D.No output

Answer: A

No answer description available for this question.
 

No comment is present. Be the first to comment.
Loading…

Post your comment