Program to simulate second clock
Answers were Sorted based on User's Feedback
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 |
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 |
what is difference between strcmp & palindrome?
write c program to display output 10(10+20)+(10+20+30)+ ... n term
0 Answers Hindustan Gum Chemicals,
Does c have enums?
Are the variables argc and argv are always local to main?
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
Explain what are the __date__ and __time__ preprocessor commands?
What is a pointer?
When c language was developed?
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.
What are the header files used in c language?
typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?
Write a c program using for loop to print typical pattern if number of rows is entered by keyboard. ABCBA AB BA A A