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

what is difference between strcmp & palindrome?

3 Answers  


write c program to display output 10(10+20)+(10+20+30)+ ... n term

0 Answers   Hindustan Gum Chemicals,


Does c have enums?

0 Answers  


Are the variables argc and argv are always local to main?

0 Answers  


What is the output of the following progarm? #include<stdio.h> main( ) { int x,y=10; x=4; y=fact(x); printf(“%d\n”,y); } unsigned int fact(int x) { return(x*fact(x-1)); } A. 24 B. 10 C. 4 D. none

2 Answers  






Explain what are the __date__ and __time__ preprocessor commands?

0 Answers  


What is a pointer?

1 Answers   ADP, IFFCO,


When c language was developed?

0 Answers  


I have an array of 100 elements. Each element contains some text. i want to: append a star character to the end of every fifth element remove every second character from every tenth element, and… add a line feed (ascii 10) after the 30th character of every array element whose length is greater than 30 characters.

1 Answers  


What are the header files used in c language?

0 Answers  


typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?

0 Answers   Wilco,


Write a c program using for loop to print typical pattern if number of rows is entered by keyboard. ABCBA AB BA A A

1 Answers  


Categories