Homeworkbuddy17
Homeworkbuddy17 Homeworkbuddy17
  • 13-12-2016
  • Computers and Technology
contestada

What is the best way to locate where my C program gets into an infinite loop

Respuesta :

rsmith6559
rsmith6559 rsmith6559
  • 13-12-2016
You could put in a printf() statement to print the value of the index into each loop that you have. You can also step through each loop and read EXACTLY what the program is doing. This is a good skill to develop because your mind has a habit of "fixing" small errors that computers don't.

Computers do exactly what they're told to do, not what you want the to do.
Answer Link

Otras preguntas

Which geographic factors contributed to the decline of Sumer? Choose all answers that are correct. A. Irrigation of the crops led to salinization of the soil. B
What is Canada is continent
Why do we ring a bell on Halloween? a. To welcome the spirits b. To scary away the spirits c. To dance with the spirits d. To comfort the spirits
Find is prime factorization of 63
Write an expression to match the words: Nicky has 4 boxes of markers. Each box contains 8 markers.
Which of the following must crystalline solids have? A. Carbonates B. Cubic structures C. Orderly arrangement of atoms D. Cleavage
last one for this chapterr
What is the day after Halloween called? a. All Sinners’ Day b. All Saints’ Day c. After Hallow’s Day d. Hallowmass
23 is 10 more than what
3(2x+5)=36what is the value of x