Teaching UGC NET Mock Test Series 2025 (Paper 1 & 2) Programming and Data Structure Programming in C
Of the following, which is NOT a logical error?
1
Using the '=', instead of '= =' to determine if two values are equal
2
Divide by zero
3
Failing to initialize counter and total variables before the body of loop
4
Using commas instead of two required semicolon in a for loop header