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
5 Write an Algorithm to find the maximum and minimum items in a set of ‘n’ element.
What is the difference between int main and void main in c?
In a header file whether functions are declared or defined?
How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same
What is %lu in c?
Can you define which header file to include at compile time?
how can use subset in c program and give more example
What are different types of pointers?
Explain indirection?
What is ## preprocessor operator in c?
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
What is struct node in c?
Differentiate between declaring a variable and defining a variable?
Explain how can I write functions that take a variable number of arguments?
if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.