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 |
main() { printf("hello"); fork(); }
How pointer is different from array?
What is the purpose of main( ) in c language?
Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?
Read N characters in to an array . Use functions to do all problems and pass the address of array to function. 2. Enter alphanumeric characters and form 2 array alphaets and digits.Also print the count of each array.
What does void main () mean?
Why is c called "mother" language?
how to compare two strings without using strcmp() function??
i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none
Write a program which has the following seven functions. The functions should be: • main() this calls the other 6 functions • fget_long() a function which returns a long data type from a file • fget_short() a function which returns a short integer variable from a file • fget_float() a function which returns a floating point variable from a file • fprt_long() a function which prints its single, long argument into a file • fprt_short() a function which prints its single, short argument into a file • fprt_float() a function which prints its single, floating point argument into a file. You should use fscanf() to get the values of the variables from the input (the file) and fprintf() to print the values to the other file. Pay attention to using the correct format for each of the data types.
Why clrscr is used in c?
What is the role of && operator in a program code?