×
Didn't find what you were looking for?
Ask a question
Home
Search
Gallery
Blog
Dictionary
Textbooks
Resource Library
Flashcards
Latest Topics
Ask a Question
Home
Take a Tour
Study Tips
Help Pages
Contact Us
Gallery
Recently Added
Search
Blog
Dictionary
Add New Word
Random Term
Recent Changes
Resource Library
Share Your Resources
Recently Added
Search
Ask a Question
Log In
Sign Up
homework help
portal
Q & A Board
Gallery
Notes and Downloads
This Board
Research Articles
Entire Website using Google
Forum
Search
Advanced Search
Image Gallery
Resource Library
Browse by
Textbooks
Chat
Subjects
Recent
Posts
•
Latest Topics
•
Unanswered Questions
Top Posters
Since Sunday
12
s
5
t
5
s
5
9
5
g
5
h
5
l
5
o
5
f
5
d
5
r
4
Home
Q & A Board
Science-Related Homework Help
Computer Studies
Print
New Topic
The following for loop is an infinite loop::for(int j = 0; j < 1000;) i++;
DePeet
DePeet
wrote...
Go to Answer
Posts:
338
Rep:
0
0
5 years ago
5 years ago
The following for loop is an infinite loop::for(int j = 0; j < 1000;) i++;
The following for loop is an infinite loop::
for(int j = 0; j < 1000;) i++;
Read 30 times
1
Reply
Report
Replies
Answer verified by a
subject expert
Stinger
Stinger
wrote...
#1
Answer Link
Posts:
310
Rep:
4
0
5 years ago
5 years ago
Sign in
or
Sign up
in seconds to unlock everything for free
Login with Facebook
Login with Google
Login with Twitter
T
This loop initializes j to 0 and compares it to 1000, but does not alter j after each loop iteration. In reality, the loop will terminate with a run-time error eventually once i becomes too large to store in memory, but logically, this is an infinite loop.
1
Report
Related Topics
Solved
An infinite loop and an infinite recursion
Solved
The do loop differs from the while loop in that
Solved
The only way to stop an infinite loop is to restart the computer.
Solved
The only way to stop an infinite loop is to restart the computer. (True or false?)
Solved
Which of the following is an infinite loop?
Solved
The do-while loop is a(n) ________ loop that is ideal in situations where you always want the loop ...
Solved
For initial start-up : (Multiple Choice)
Solved
Horizontal loop, vertical loop, slinky loop, and lake loop are all designs for :
Show More
DePeet
Author
wrote...
5 years ago
You make an excellent tutor!
SlimyPencil
wrote...
Yesterday
This calls for a celebration
courtneyrmcd
wrote...
2 hours ago
Thanks for your help!!
New Topic
Quick Reply
[center][color=gray]Please [b]login or register[/b] to leave a reply[/color][/center]
Explore
Post your homework questions and get free online help from our incredible volunteers
281 People Browsing
222 Signed Up Today
Start New Topic
Take the Tour
Study Tips
Study Tools
New
Topics Trending
Browse by Textbook
Related Images
183
206
59
Your Opinion
Who's your favorite biologist?
Charles Darwin
Carl Linnaeus
Gregor Mendel
James Watson
Rachel Carson
Craig Ventor
Other
Votes: 431
Previous poll results:
Does a gender wage gap exist in America?
Latest Blogs
How to cut in front of a line (persuasion tactic)
The Secrets of Longevity: Exploring Okinawa, Japan
3D Imaging: A Practical Use of Mathematics
Unusual Plant Defenses
A link between depression and heart disease
Ready to ask a question on
Biology Forums
?
Try it out
You receive a loan of $22,000 for 36 months at 5.2% compounded quarterly? How much interest is ...
-
Mathematics
Your company wishes to replace a payment of $1,600 three months from now with a single payment ...
-
Mathematics
You wished to start a new business and attended the Small Business Bank. You borrowed $10,000 for 4 ...
-
Mathematics
On the day it was issued, Aaron bought a 30-year, $1,000 strip bond at a market rate of 6% ...
-
Mathematics
The population of Ourtown, Saskatchewan is expected to grow at a rate of 2.5% per year for the next ...
-
Mathematics
You have just been notified that the combined principal and interest on your credit card is ...
-
Mathematics
Jack invested $10,000 at 10% compounded annually for 35 years. Jill also invested $10,000 for 35 ...
-
Mathematics
Stamps on Stock Exchanges.
-
Curiosity Questions
Mrs. Landry placed $14,500 in a four-year compound interest GIC earning 2.75% compounded monthly. ...
-
Mathematics
You receive a loan of $22,000 for 36 months at 5.2% compounded semiannually? How much interest is ...
-
Mathematics
Loading...