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 |
#include<stdio.h> #include<conio.h> void main() { float a; clrscr(); a=0.5; if(a==0.5) printf("yes"); else printf("no"); getch(); }
write an algorithm and a program to count the number of elements in a circularly singly linked list
difference between c and c++
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
What is #error and use of it?
What are dangling pointers in c?
What are the disadvantages of a shell structure?
#define MAX 3 main() { printf("MAX = %d \n",MAX ); #undef MAX #ifdef MAX printf("Vector Instituteā); #endif
How do we declare variables in c?
What does. int *x[](); means ?
give an example of type casting by a simple c program
Explain how do you override a defined macro?