what is use of loop?
Answers were Sorted based on User's Feedback
Answer / vignesh1988i
1) loop is a special provisions made in various programming languages in which we travel through till a certain condition is reached ....
2) whenever we have to print certain number of values repeatedly or constantly we can go for looping structures...
3) whenever a certain same operations has to be performed for different values consecutively we go for looping.....
thank u
| Is This Answer Correct ? | 9 Yes | 1 No |
Answer / yashvir yadav
by the help of loop we run the part of program many times with in the a specific condition. that part of program have a range it close in special sign({.......}).
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / guest
loops are used at times when we need to repeatedly check a
condion or during in situations when we need to execute
statements again and again as we need.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / guest
we use loop when we want the given condition is checked
contineously.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / lakshmi
1)loop is used to perform a particular task till the given
condition is correct.
2)to run the program effiecently and effecttively.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / uma maheswari
run a part of a programme till the specified condition is
satisfied
instead of doing each&every time for printing some values
we use loop,so time saving
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ankith.v
to print the statements Repeatedly until the specified
condition is failed
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / anil kumar nahak
When We Require Repeatably Statements For Specific Number
Times.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / 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 |
Answer / manokaran
By the help of loop we
can check the condition
continuously.
| Is This Answer Correct ? | 0 Yes | 0 No |
explain what are actual arguments?
Write a program for print infinite numbers
input any 4 digit number and find the difference of all the digits?
Write a code to generate a series where the next element is the sum of last k terms.
Explain the difference between structs and unions in c?
What is the purpose of 'register' keyword in c language?
The file stdio.h, what does it contain?
Is array a primitive data type in c?
What is this pointer in c plus plus?
What is uint8 in c?
write a c prog for removing duplicate character from an array and sorting remaining elements using a single array
4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.