Which statement creates a buffer over flow? (Line numbers are marked using comments /* */)
#include
#include
#include
int main (int argc, char *argv[]) {
int i=0,j=1;
char ipstring[80];
for (;i<=3;i++){
cout<<"\n entering a new character\n";
j=getchar();/*1*/
cout<<”enter a string”;
gets(ipstring);/*2*/
cout<
Reveal answer
Fill a bubble to check yourself