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 |
a C prog to swap 2 no.s without using variables just an array?
what is the difference between call by value and call by reference?
5 Answers Genpact, Global Logic, Infosys,
What are external variables in c?
How would you rename a function in C?
how logic is used
why you will give me a job in TCS.
What are operators in c?
What is structure of c program?
how to swap two integers 1 and 32767 without using third variable
with out using main how to execute the program?
typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none
What is bubble sort in c?