In C language Write a statement using fprintf to print two f
In C language...
Write a statement using fprintf() to print two float variables named x and y separated by a single comma to stdout.
Solution
#include <stdio.h>
int main()
{
float x = 1.0,y = 2.0;
fprintf(stdout,\"%f,%f\",x,y);
fflush(stdout);
return 0;
}
