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

A 52 N sled is pulled across a cement sidewalk at constant speed. A horizontal force of 36 N is exerted. What is the coefficient of sliding friction between the
what poetic device has been used The skin cracks like a pod​
1/x-7=-8 Please answer x as a fraction
ONLY HELP ME IF U KNOW
pls helpUrgent!!Will give the brainliest!​
How many electrons would Pd have if it had a +2 charge?_ How many electrons would Pd have if it had a +2 charge?
1. Identify at least 3 general relevant psychology related problems at present.
Which element has the electron configuration, 1s2 2s2 2p6 3s2 3p3 4s2 3d10 4p6 5s2 4d5 ? a manganese b technetium c rhenium d europium
It refers to the ability to accept failure, understanding and liking one self
The commutative property states: A. You can add numbers in any order and get the same answer. B. You must add numbers in order from left to right. C. You can c