Joke Collection Website - Blessing messages - What is a grammatical error? What is a logical error? What is a logical error? What is a grammatical error?
What is a grammatical error? What is a logical error? What is a logical error? What is a grammatical error?
2. Logical error: This refers to the error that the program has no grammatical error, and the executable program can be generated through compilation and connection, but the running result of the program is inconsistent with the expectation. For example, the value of an integer variable is out of the valid range, and the address operator is omitted in the scanf function. The subscript in the array element reference is out of bounds, and the compound statement is not used when it should be used. Because the program containing logical errors can still run, it is a kind of program error that is difficult to find and debug, so we should pay special attention to it in program design and debugging.
- Previous article:What social apps do Koreans use?
- Next article:English birthday wishes from my boyfriend
- Related articles
- Xiaomi 2, when sending SMS and WeChat, sogou's input method is always wrong and can't be typed in. What happened?
- What will Jay Chou say when he takes the stage to receive the prize?
- What should I do if I forget my QQ account number?
- The voice sent by the mobile phone WeChat is noisy, and I can't hear it clearly, but the call is normal. What happened?
- How to query the certificate number of NDRC?
- How to query the original password of Guiyang social security card?
- Send an email to the postgraduate tutor. Is there no hope if you don't reply?
- What should I do if oppo mobile phone information is hidden?
- Which is better for ticketing software?
- What is Huawei offer?