Тема: Покажчик на масив
#include <stdio.h>
int strcat(char *, char *);
int main(int argc, char *argv[])
{
    char arr1[]="abc";
    char arr2[]="11d11def11def";
    if(strcat(arr1, arr2))
        printf("Sucsess: %s\n", arr1);
    else
        printf("There is nothing to add\n");
    return 0;
}
int strcat(char *s, char *t){
    while(*s != '\0'){
        s++;
    }
    if(*t){
        while(*s = *t){
            s++;
            t++;
        }
        return 1;
    }else
        return 0;
}Чому наступний цикл спричиняє таку помилку "*** Process returned -1073741819 ***"
while(*s = *t){
            s++;
            t++;
        }Або подібний йому, приведений в книзі K&R
        
while(*s++ = *t++){
       /*s++;
       t++;*/
}