Write a main() program that calls this function at least 10
times. Try implementing this function in two different
ways. First, use an external variable to store the count.
Second, use a local variable. Which is more appropriate?
Answer Posted / satya
why not we use if instead of while in the above answer...
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is recursion in C
What is the difference between malloc() and calloc() function in c language?
What is data structure in c and its types?
Explain what is a 'locale'?
What do the functions atoi(), itoa() and gcvt() do?
Do you know the difference between exit() and _exit() function in c?
Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?
Why ca not I do something like this?
why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
What is the difference between void main and main in c?
What is quick sort in c?
Explain do array subscripts always start with zero?
What is equivalent to ++i+++j?
What functions are used in dynamic memory allocation in c?