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 |
What is a global variable in c?
What is difference between scanf and gets?
how to swap two nubers by using a function with pointers?
What does sizeof function do?
main() { int a=4,b=2; a=b<<a + b>>2; printf("%d", a); }
11 Answers HCL, Vector, Vector India, Vector Solutions, Wipro,
how many error occurs in C language ?
What is the difference between formatted&unformatted i/o functions?
What is the output of below code? main() { static int a=5; printf("%3d",a--); if(a) main(); }
What is the function of multilevel pointer in c?
Write a program that takes three variables(a,b,c) in as separate parameters and rotates the values stored so that value a goes to b,b,to c and c to a
Disadvantages of C language.
What is volatile in c language?