ТП
Татьяна Платонова
Помогите исправить ошибку в конце программы (язык Си). "Stack around the variable 'a' was corrupted."
поиск подстроки в строке 1000 раз.
#include
#include
#include
#include
#include
int main(void)
{
setlocale(LC_ALL, "Russian");
char a[50];
int i,i1;
int rp;
int k;
char pstr[4];
srand(time(NULL));
printf("Случайно сгенерированная строка: \n");
printf("\n______________________________________________\n");
for(i=0;i