#include <stdio.h>
int main() {
char str3[6] = {'h', 'e', 'l', 'l', 'o', '\0'};
char str4[ ] = {'h', 'e', 'l', 'l', 'o'};
printf("%s, %s", str3, str4);
return 0;
}
The output for this is : hello, hellohello
Why two times hello ????