what is use of for loop?
Answers were Sorted based on User's Feedback
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 |
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 |
Answer / kannan.p
for loop use is one are more then printing in printup
statements.
| Is This Answer Correct ? | 2 Yes | 1 No |
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 |
Answer / raj gunda
for is used to 'finite' number of times repeat the
statements
| Is This Answer Correct ? | 1 Yes | 0 No |
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 |
Answer / gunasekhar
for the repeated eecution of a statement or a block we use
for loop.
| Is This Answer Correct ? | 0 Yes | 0 No |
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 |
Answer / narendra singh
to execute group of code ,selection of code again and again
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the stl, standard template library?
Write a program in C++ to concatenate two strings into third string using pointers
if x<>=z then statement end what is the cyclomatic complexity
What is stl stack?
what is the difference between thread and process
WHAT IS THE DIFFERENCE BETWEEN C++ AND VC++
a program using one dimensional array that searches a number if it is found on the list of given input numbers given by the user and locate its exact location in the list.
how to get the sum of two integers?
if 4-5 year old brother is standing on d roof with me and watching d moon, suddenly moon coverd by cloud then how will i explain d hiding of moon to my brother.
Describe how to safeguard a system through acquisition of an antivirus Program and systematic backup.
what is strcture i++ i ++i answer to this i=5 what is the out put
What do you mean by stl?