Skip to content
This repository has been archived by the owner on Mar 14, 2023. It is now read-only.

Update Digital clock in C #248

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Others/Digital clock in C
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include <stdio.h>
#include <time.h> //for sleep() function
#include<stdio.h>
#include<time.h> //for sleep() function

int main()
{
Expand Down Expand Up @@ -36,7 +36,7 @@ int main()
second=0;
}

sleep(1); //wait till 1 second
sleep(1);
}

return 0;
Expand Down