Machine-translated by Google. Questions are authored in English.
Top

Discussion

MISRA C exists to

  • A.define a new dialect of C for embedded targets
  • B.replace the C standard in safety-related industries
  • C.specify the layout of the start-up code
  • D.restrict the language to a safer subset for critical software

Answer: D

It forbids constructs whose behaviour is undefined, unspecified or merely easy to get wrong, such as the signed and unsigned comparison and the uninitialised variable. Compliance is checked by a static analyser and deviations are documented rather than silently taken.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.