Nguyễn Thành Huy
New member
What will be the output of the following C code?
A. 12.00
B. -12.00
C. Error
D. 12
Code:
#include <stdio.h>
#include <time.h>
int main ()
{
double d;
d = difftime (5,17);
printf ("%.2f\n", d );
return 0;
}
B. -12.00
C. Error
D. 12