1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
sukhopar [10]
3 years ago
5

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

Computers and Technology
1 answer:
Anni [7]3 years ago
5 0
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.
You might be interested in
Green field county stadium is planning to conduct a circket match between two teams A and B. A large crowd is expected in the st
boyakko [2]

Answer:

there are multiple, but it could be wireless transmission. There is no spercific anwser unless there are choices.

Explanation:

this is because almost any trassmition mode would work, either wired or wireless. Wireless transmission is better since the problem states that there are several camaras.

7 0
3 years ago
PLS HELP IM SO DESPERATE!! 40 points
Hunter-Best [27]
You would reboot the computer install a VPN and a virus detector
8 0
3 years ago
In 1839, Talbot released the paper-based process which he called _ to the public.
vlabodo [156]

Answer:

I'm pretty sure it's photogenic drawing.

7 0
3 years ago
If AL contains binary 1000 1111, which one will show the information of the binary bits in AL after performing operation SHR AL,
padilas [110]

Answer:

a) AL will contains 0011 1100

Explanation:

In assembly language, shifting bits in registers is a common and important practice. One of the shifting operations is the SHR AL, x where the x specifies that the bits be shifted to the right by x places.

SHR AL, 2 therefore means that the bits contained in the AL should be shifted to the right by two (2) places.

For example, if the AL contains binary 1000 1111, the SHR AL, 2 operation will cause the following to happen

Original bit =>                                        |   1  |  0 |  0  |  0  |  1 |  1 |  1 |  1 |

Shift once to the right =>                |  1 |   0 |  0  |  0  |  1 |  1 |  1 |  1 | (0) |

Shift once to the right =>          |  1 |  0 |  0  |  0  |  1 |  1 |  1 |  1 | (0) | (0) |

Notice;

(i) that there are two shifts - one at a time.

(ii) that the bits in bold face are the bits in the AL after the shift. Those that in regular face are those in the carry flag.

(iii) that the new bits added to the AL after a shift are the ones in bracket. They are always set to 0.

5 0
3 years ago
Which of the following is part of the 6-by-6 rule?<br><br> i need help!!!!!
Digiron [165]
No more than six lines, and no more than six words in a 6 by 6 rule.
5 0
3 years ago
Other questions:
  • Which social networking function came first?
    9·2 answers
  • in what way do rules and laws created to address public problems affect individuals groups and business
    13·1 answer
  • Which of these sites would need additional investigation to check for reliability?
    8·2 answers
  • Top/bottom rules allows user to apply conditional formatting cells that fall within the top or bottom numbers or percentile. how
    7·1 answer
  • Look at the network topology. What will happen with the other computers if the computer breaks at the RED X?
    8·1 answer
  • For C++ ONLY please,
    14·1 answer
  • Ano ang ibig sabihin ng tanka<br>​
    5·1 answer
  • HELP PLS
    5·2 answers
  • Escribe 10 ejemplos de lo que consideras un byte
    5·1 answer
  • Think of some local businesses that have websites. Look online and identify two different websites for businesses or services in
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!