Program to simulate second clock

Answers were Sorted based on User's Feedback



Program to simulate second clock..

Answer / arseneok

Write a program to simulate second clock. Put the 60 dots on
the circle with equal distance each other and mark them 0 to
59.n A second pointer is to shown with any symbol. Also
print the number of revolution made by second's pointer.

Does anyone has an idea?

Is This Answer Correct ?    0 Yes 0 No

Program to simulate second clock..

Answer / visitor

I think we must use nested for loop, with gotoxy function in
it. But i don't know how to apply this theory.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

main() { int *ptr=(int*)malloc(sizeof(int)); *ptr=4; printf("%d",(*ptr)+++*ptr++); }

2 Answers  


Is struct oop?

0 Answers  


PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE

0 Answers  


What do you mean by command line argument?

0 Answers   TCS,


Write a C program to print 1 2 3 ... 100 without using loops?

15 Answers   Hindalco,






The variables are int sum=10,SuM=20; these are same or different?

3 Answers  


What is far pointer in c?

0 Answers  


What is structure in c explain with example?

0 Answers  


What are the features of c languages?

0 Answers  


Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above

0 Answers  


Write a C Program to display the following menu: Menu 1. Display 2. Copy 3. Append 4. Exit Accept the choice (1-4) from the user, and perform the following tasks: Choice 1: Accept a file name from the user and display the file on screen Choice 2: Accept two file names, and copy first file to the second Choice 3: Accept two file names, and append second file to the first file Choice 4: Terminate the program

1 Answers   Accenture, Concor, DMU, Satyam, Syntel, Tora,


what is void pointer?

1 Answers   Wipro,


Categories