what is use of loop?

Answer Posted / kalyan chukka

if we print 1 to 100 nos we write 100 printf statements. But
using loop we use single statement.and complexity is low
size is low execution is fast.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of f in c?

561


What should malloc(0) do?

619


Do pointers store the address of value or the actual value of a variable?

613


What is the difference between array and structure in c?

575


What are the different types of endless loops?

628






What is the difference between void main and main in c?

628


Explain how do you convert strings to numbers in c?

598


What are the 4 types of unions?

617


Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.

2656


Explain what are binary trees?

616


Can stdout be forced to print somewhere other than the screen?

627


What are the 4 types of functions?

579


What is zero based addressing?

722


What is pass by reference in functions?

327


what are bit fields? What is the use of bit fields in a structure declaration?

1503