what is use of for loop?

Answers were Sorted based on User's Feedback



what is use of for loop?..

Answer / geetha

for loop use is more then one calculation or process can be
performed, for example:
for(int i=0;i<5;i++)
{
printf("%d",i);
}
In the above example the printf statement can be excuted in
five times.
Output:0 1 2 3 4

Is This Answer Correct ?    6 Yes 0 No

what is use of for loop?..

Answer / swathi

it is a loop which can have 3 conditions like
1)initiating a value to a variable
2)incrementation/decrementation
3)and a specific condition

Is This Answer Correct ?    3 Yes 0 No

what is use of for loop?..

Answer / kannan.p

for loop use is one are more then printing in printup
statements.

Is This Answer Correct ?    2 Yes 1 No

what is use of for loop?..

Answer / keshav.gadde

for loop is executed as long as condition is true and
process the loop until condition is fail.

Is This Answer Correct ?    1 Yes 0 No

what is use of for loop?..

Answer / raj gunda

for is used to 'finite' number of times repeat the
statements

Is This Answer Correct ?    1 Yes 0 No

what is use of for loop?..

Answer / murugasundari

for loop is used to repeate the process for certain number
of time s known.

Is This Answer Correct ?    2 Yes 2 No

what is use of for loop?..

Answer / gunasekhar

for the repeated eecution of a statement or a block we use
for loop.

Is This Answer Correct ?    0 Yes 0 No

what is use of for loop?..

Answer / madhu

testing the condition more than one time.when it gets true
the loop will be finished.

Is This Answer Correct ?    1 Yes 1 No

what is use of for loop?..

Answer / narendra singh

to execute group of code ,selection of code again and again

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More STL Interview Questions

What do you mean by stl?

1 Answers  


how can u do connectivity in c++ language? plz send me connectivity code in c++ ?

0 Answers   Ascent,


Do you like to Submit Questions in Bulk under Same Category?? Then use our Bulk ListerDo you like to Submit Questions in Bulk under Same Category?? Then use our Bulk Lister

0 Answers  


In what scenario does the Logical file and Physical file being used?

0 Answers   informatics,


What is stl in c++ with example?

0 Answers  






Who wrote stl?

0 Answers  


totoo po ba ang manga aliens!

0 Answers  


write a program that will accept a number and print.its equivalent in words the maximum input number is 9999

0 Answers  


how to use C++?

0 Answers   NIIT,


How Find, Replace and Go To commands ca be used to substitute one character string for another? Explain with the heIp of an example.

1 Answers  


what is compiler?

4 Answers   NASA,


sir please send me bpcl previous question papers

0 Answers   BPCL Bharat Petroleum,


Categories