The following is a C code-
int main(void)
{
char buff[10];
memset(buff,0,sizeof(buff));
gets(buff);
printf(" The buffer entered is [%s] ",buff);
return 0;
}
(A) The program assigns a memory area to buff successfully and works fine.
(B) The program may not compile properly.
(C) The program is compiled but it may lead to buffer over overflow sometimes.
(D) The program has no issue