difference between syntax error and logical error
Answers
Answered by
8
Explanation:
The key difference between syntax error and logical error is that, the syntax error occurs due to an error in the syntax of a sequence of characters or tokens that is intended to be written in a particular programming language while logical error is an error that occurs due to the fault in the program algorithm or the ...
Answered by
17
ᴛʜᴇ ᴋᴇʏ ᴅɪғғᴇʀᴇɴᴄᴇ ʙᴇᴛᴡᴇᴇɴ sʏɴᴛᴀx ᴇʀʀᴏʀ ᴀɴᴅ ʟᴏɢɪᴄᴀʟ ᴇʀʀᴏʀ ɪs ᴛʜᴀᴛ, ᴛʜᴇ sʏɴᴛᴀx ᴇʀʀᴏʀ ᴏᴄᴄᴜʀs ᴅᴜᴇ ᴛᴏ ᴀɴ ᴇʀʀᴏʀ ɪɴ ᴛʜᴇ sʏɴᴛᴀx ᴏғ ᴀ sᴇϙᴜᴇɴᴄᴇ ᴏғ ᴄʜᴀʀᴀᴄᴛᴇʀs ᴏʀ ᴛᴏᴋᴇɴs ᴛʜᴀᴛ ɪs ɪɴᴛᴇɴᴅᴇᴅ ᴛᴏ ʙᴇ ᴡʀɪᴛᴛᴇɴ ɪɴ ᴀ ᴘᴀʀᴛɪᴄᴜʟᴀʀ ᴘʀᴏɢʀᴀᴍᴍɪɴɢ ʟᴀɴɢᴜᴀɢᴇ ᴡʜɪʟᴇ ʟᴏɢɪᴄᴀʟ ᴇʀʀᴏʀ ɪs ᴀɴ ᴇʀʀᴏʀ ᴛʜᴀᴛ ᴏᴄᴄᴜʀs ᴅᴜᴇ ᴛᴏ ᴛʜᴇ ғᴀᴜʟᴛ ɪɴ ᴛʜᴇ ᴘʀᴏɢʀᴀᴍ ᴀʟɢᴏʀɪᴛʜᴍ ᴏʀ ᴛʜᴇ ʟᴏɢɪᴄ.
Hope it helps...
Mark me as brainliest ❤❤
Similar questions