Consider the following program
#include
int main()
{
float a ;
int x = 6, y = 5;
a = x/y;
printf(“Value of a = %f\n”, a);
return 0;
}
The value printed for a is
1
1.200000
2
1.000000
3
1
4
None of these
Consider the following program
#include
int main()
{
float a ;
int x = 6, y = 5;
a = x/y;
printf(“Value of a = %f\n”, a);
return 0;
}
The value printed for a is