Write a program in C to implement an Analogue Clock and a Digital Clock where the time will be set by the user according to his/her choice (manually or system clock).
Answers
Answered by
0
Answer:
The time.h header defines four variable types, two macro and various functions for manipulating date and time. A brief description of the variable types defined in the header time.h is as :
size_t : This is the unsigned integral type and is the result of the sizeof keyword.
clock_t : This is a type suitable for storing the processor time.
time_t is : This is a type suitable for storing the calendar time.
struct tm : This is a structure used to hold the time and date.
Similar questions