Google News
logo
Cyber Security - Quiz(MCQ)
Applications developed by programming languages like ____ and ______ have this common buffer-overflow error.
A)
C, C++
B)
C, Ruby
C)
Tcl, C#
D)
Python, Ruby

Correct Answer :   C, C++


Explanation : Applications developed by programming languages like C and C++ have this common buffer-overflow error. The strcat(), strcpy(), sprintf(), gets() etc when called in C and C++ can be exploited because these functions don’t check whether the stack is large enough for storing the data.

Advertisement