TEMA

Why Runtime Error ? in C.....!!

CSE__19__MasrafiBinSeraj preguntado 3 years ago

Pregunta resuelta. Código eliminado.

Este tema fue resuelto y no puede recibir nuevas respuestas.

  • feodorv respondido 3 years ago

        char in[100],s1[50],s2[50];

    Too small buffer sizes. At least 1 byte should be added for '\0' symbol.

            strcat(s1,s2);

    You've already defined the size of s1 as half of maximum possible, so you can't append s2 to it. You can try

        char in[128],s1[128],s2[128];