Vidyalelo
C Programming · Q172

Standard Library Functions

Programming · C Programming · question 172

Q172

What will be the output of the following C code? #include int main (void) float n = time(NULL); printf("%.2f " , n);

A.
time in seconds from 1 January, 1970
Answer
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

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board