what is use of for loop?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

sir please send me bpcl previous question papers

1971


What are the components of stl?

637


What is stl stack?

674


i wanted to know about questions about c,c++ , which is required for placements.... im a fresher

1713


Why should a c++ programmer be interested in stl?

651






What is stl in oop?

694


Describe how to safeguard a system through acquisition of an antivirus Program and systematic backup.

1654


What is the use of stl?

645


What are the various types of stl containers?

744


How do you convert stl to steps?

641


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.

1985


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

2334


What is stl in c++ with example?

644


How connect plc and pc through software

1931


draw a flowchart that accepts two numbers and checks if the first is divisible by the second.

2870