#include <time.h> #include <stdio.h> void put_time ( void ) { time_t Current; // declare a time variable struct (TM) * local; // to a pointer structure Time (Current &); // get the current current time stored in the variable address ; local = localtime (& current) // structure is assigned to the current value of the local-> of the printf ( " % 02d dot% 02d minutes% 02d seconds " , local -> tm_hour, local -> tm_min, local -> tm_sec); } int main ( void ) { the printf ( " Current Time: " ); put_time (); the printf ( " . \ n- " ); return ( 0 ); }