When do we get logical errors?



When do we get logical errors?..

Answer / Preety

"Logical errors, also known as bugs, occur in C programming when the written code doesn't behave as intended. These errors may result from incorrect algorithms, logic flaws in the program, or incorrect data usage."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

output for following code??? main() { int x=2,y,z; x*=3+2; printf("1.%d\n",x); x*=y=z=4; printf("2.%d %d %d\n",x,y,z); x=y==z; printf("3.%d\n",x); x==(y=z); printf("%d",x); }

2 Answers   Elysium,


what is c?

4 Answers   IBM, TCS,


C,c++, Java is all are structural oriented or procedure oriented language..?

6 Answers  


Is int a keyword in c?

0 Answers  


What is the purpose of main() function?

1 Answers  


what is the difference between #include<> and #include”…”?

5 Answers  


What are qualifiers and modifiers c?

1 Answers  


Write a C program to read the internal test marks of 25 students in a class and show the number of students who have scored more than 50% in the test. Make necessary assumptions.

1 Answers  


What is return in c programming?

1 Answers  


What is function prototype in c language?

1 Answers  


what is call by value and call by reference

4 Answers  


How to print all the 26 alphabets in this order in C. AbCdEfGh..... it should print dynamically from a to z and do not print this using pgm like this print("Ab......"); Use loops or anything to print all alphabets

2 Answers   Hexaware,


Categories