My issue
if we declare the array size and take the strings why does it give a problem to the output??
My code
#include <stdio.h>
//initializing two string / char array with "code" && "chef"
char a[4] = "code";
char b[4] = "chef";
int main(void) {
printf("%s", a);
printf("%s", b);
return 0;
}
Learning course: Learn C
Problem Link: CodeChef: Practical coding for everyone