in Programming in C edited by
1,957 views
1 vote
1 vote
Semantic error can be detected at:

A. compile time

B. Runtime

C. Both

D. None of these
in Programming in C edited by
2.0k views

1 comment

I think it's A.) as semantics and syntax varies from language to language!
0
0

1 Answer

2 votes
2 votes

Semantic error is detected at both Runtime and Compile time 

for Run  time (Logical) like divide by 0 ,Dereference of NULL pointer etc for static Semantic error >>Type mismatches

2 Comments

divide by 0 is semantic error?
0
0
Its a compile time error.
0
0

Related questions