What will be the output of the following C code?
#include<time.h>
int main (void)
{
float n = time(NULL);
printf("%.2f\n" , n);
}
#include<time.h>
int main (void)
{
float n = time(NULL);
printf("%.2f\n" , n);
}A. time in seconds from 1 January, 1970
B. time in minutes from 1 January, 1970
C. time in seconds from 1 January, 1980
D. time in minutes from 1 January, 1980
Answer: Option A

Join The Discussion