Predict the output for the following code
#include stdio.h
void main()
{
float x=10.4;
if(x=10)
printf("Ursa major");
else
printf("Ursa minor");
}

Posted on by