Why is it hard to write secure code with C?

What will be an ideal response?


Designed for performance and low-level programming, C and its close relative C++ include fundamental language design decisions that make it difficult to write secure code. C permits buffer overflows, does not contain strong type checking, and requires programmers to do their own memory management. C is a fine choice to write system programs such as file system run times and operating system kernels. However, many applications have been written in C where security problems might be present.

Computer Science & Information Technology

You might also like to view...

Describe how the Linux version numbering scheme changed with Linux 2.6.x.

What will be an ideal response?

Computer Science & Information Technology

In a Calc sheet, rows are numbered sequentially

Indicate whether the statement is true or false

Computer Science & Information Technology

A frame with a set of boxes, toggle buttons, or option buttons

a. Combo option b. Frame group c. Option group

Computer Science & Information Technology

Excel worksheets and workbooks can be saved as web pages

Indicate whether the statement is true or false

Computer Science & Information Technology