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


Please Help Members By Posting Answers For Below Questions

Which header file is used for clrscr?

583


Explain threaded binary trees?

682


Why we use int main and void main?

537


What is a pointer and how it is initialized?

610


Does free set pointer to null?

565






Why & is used in c?

715


What are two dimensional arrays alternatively called as?

662


What are the string functions? List some string functions available in c.

606


What is a program flowchart and how does it help in writing a program?

666


in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none

605


Add Two Numbers Without Using the Addition Operator

356


any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()

696


Give me the code of in-order recursive and non-recursive.

887


How are pointers declared in c?

602


What is nested structure with example?

625