CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Semantic errors can be detected

A
At compile time only
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
At run time only
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
Both at compile time and at run time
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
None of the above
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is C Both at compile time and at run time

Semantic errors can be detected both at compile time and at run time.

A compiled program can be opened and run by a user. When an application is running, it is called run time. A compile time error is a problem such as a syntax error or missing file.

Semantic error:- Writing invalid program logic that produces incorrect results when the instructions are executed.



911047_917161_ans_91ddbc184d884844a5331d02db6d0226.PNG

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Database Structuring
ACCOUNTANCY
Watch in App
Join BYJU'S Learning Program
CrossIcon