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
What is the difference between struct and typedef struct in c?
Why can’t we compare structures?
what are # pragma staments?
what do you mean by enumeration constant?
What is string in c language?
Explain the binary height balanced tree?
Why C language is a procedural language?
What is the purpose of macro in C language?
What is the purpose of sprintf?
What is a stream water?
any "C" function by default returns an a) int value b) float value c) char value d) a & b
What is the hardest programming language?
How can I insert or delete a line (or record) in the middle of a file?
What does char * * argv mean in c?
Why calloc is better than malloc?