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 / banavathvishnu
main()
{
static int i;
while(i<10)
{
i++;
main();
}
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain how are portions of a program disabled in demo versions?
What is wrong with this code?
Can you define which header file to include at compile time?
why wipro wase
What is bubble sort technique in c?
What do you understand by friend-functions? How are they used?
Why is c still so popular?
What is the purpose of ftell?
What is the difference between memcpy and memmove?
Explain what is a 'locale'?
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10
What is pass by reference in functions?
What is the symbol indicated the c-preprocessor?
How can I sort a linked list?
What is a macro?