PrepAway - Latest Free Exam Questions & Answers

Which of the following programming languages is most su…

Which of the following programming languages is most susceptible to buffer overflow attacks, due to its lack of
a built-in-bounds checking mechanism?
Code:
#include <string.h>
int main(){
char buffer[8];
strcpy(buffer, ““11111111111111111111111111111””);
}
Output:
Segmentation fault

PrepAway - Latest Free Exam Questions & Answers

A.
C#

B.
Python

C.
Java

D.
C++


Leave a Reply