test slides show
Code block
What is the result of 0 * NaN
#include <math.h>
int main()
{
double x = NAN;
double y = 0;
printf("%20.13f\n", x * y);
}
Compiling and Running it
$ gcc -o a.out test.c
NaN
What is the result of 0 * NaN
#include <math.h>
int main()
{
double x = NAN;
double y = 0;
printf("%20.13f\n", x * y);
}
Compiling and Running it
$ gcc -o a.out test.c
NaN