Problem: How to show continuous time on the screen
To show continuous time on the screen we can use gettime() function. gettime() function accepts a structure variable reference. Here we use structure type time to provide this reference. The programming code for showing continuous time is given below→
This is a program to show continuous time until a key is pressed. If we want to show a clock on the screen then we can use this program.