Program to find the sum of digits of a given number until
the sum becomes a single digit
Answer Posted / shreshtha bhattacharya
82
25
52
63
65
Is This Answer Correct ? | 1 Yes | 13 No |
Post New Answer View All Answers
What is strcmp in c?
main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }
How can I call a function with an argument list built up at run time?
Explain what are the standard predefined macros?
Why do we use int main?
Explain what is meant by high-order and low-order bytes?
What is getch c?
the question is that what you have been doing all these periods (one year gap)
What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
Can we change the value of #define in c?
Is null always equal to 0(zero)?
Where are the auto variables stored?
C program to find all possible outcomes of a dice?
why do some people write if(0 == x) instead of if(x == 0)?
program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)