Home > Back-end >  Just learning C language, bosses look a little code what grammatical errors
Just learning C language, bosses look a little code what grammatical errors

Time:10-07

This code was very simple, but never such as printf printed a, is a break in the wrong?

CodePudding user response:

Because three judgment are not satisfied, or 7 a

CodePudding user response:

Because a do not conform to the circulation of three judgment conditions, so the + and a - these are not going to happen, so a never==0, so break will never perform, infinite loop would not stop, not printf (" % d \ n ", a) this sentence,

CodePudding user response:

Dead cycle, you take a closer look at again,

CodePudding user response:

A=7 into the terms of any judgment infinite loop

CodePudding user response:

The original poster is grammar mistakes, mistakes rather than running?

  • Related