"Hello World!" in C

  • + 0 comments

    I write this coad as i am a beginner, my output and expected output is same but still it show an error, can anyone tell me why???

    include

    int main() { char str1[] = "Hello, world!"; char str2[] = "Welcome to C programming."; printf("%s\n", str1); printf("%s\n", str2); return 0; }