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
Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc
where are auto variables stored? What are the characteristics of an auto variable?
Where can I get an ansi-compatible lint?
What does %p mean?
Are c and c++ the same?
What is the process of writing the null pointer?
What is wild pointer in c?
why return type of main is not necessary in linux
write a program to copy the string using switch case?
What is function and its example?
What is character set?
Explain how can I make sure that my program is the only one accessing a file?
What does the format %10.2 mean when included in a printf statement?
using for loop sum 2 number of any 4 digit number in c language
Explain why C language is procedural?