test slides show

test slides show

How to open slide 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

Useful links

slidy

gitit

back to Front page