Multiple choice general knowledge science & technology

The function time(NULL) returns the number of seconds elapsed since 00:00:00 hours ?

  1. January 1, 1900.

  2. January 1, 1950.

  3. January 1, 1970.

  4. January 1, 1990.

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The time() function returns seconds since the Unix epoch: January 1, 1970, 00:00:00 UTC. This is the standard reference point used by Unix-like systems. Dates before this are represented as negative values.