Explain logical errors? Compare with syntax errors.
Answer / Tripti Verma
Logical errors in C programming occur when the program's logic is incorrect, resulting in unexpected output. They are difficult to detect and debug because they do not prevent the program from compiling or running. Syntax errors, on the other hand, cause the compiler to generate an error message since there is a mistake in the code's syntax.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a void pointer? When is a void pointer used?
Why does this code crash?
what are the different storage classes in c?
What is the use of function overloading in C?
how to write a cprogram yo get output in the form * *** ***** ******* ********* ******* ***** *** *
Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.
HOW CAN ADD OUR FUNCTION IN LIBRARY.
What does static variable mean in c?
What are the advantages of the functions?
Where are some collections of useful code fragments and examples?
What does c value mean?
Which are low level languages?