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

Join The Discussion