Multiple choice technology security

Which programming language is most susceptible to buffer overflow?

  1. COBOL

  2. ColdC

  3. Java

  4. C

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

C is most susceptible to buffer overflow because it allows direct memory manipulation through pointers, lacks automatic bounds checking on array access, and requires manual memory management. Java has built-in bounds checking and garbage collection that prevent buffer overflows. COBOL has stronger memory safety features. ColdC is not a mainstream language with known buffer overflow issues.