Please help me understand the following:
In the following code time() funtions takes an address value, like time(&instance_of_time_t), and gives present time as output. I am wondering what is ((time_t *)0) in the_time+time((time_t *)0).
Code:time_t the_time;
for(i = 1; i <= 10; i++) {
the_time = time((time_t *)0);
printf("The time is %ld\n", the_time);