You are viewing a single comment's thread. Return to all 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???
int main() { char str1[] = "Hello, world!"; char str2[] = "Welcome to C programming."; printf("%s\n", str1); printf("%s\n", str2); return 0; }
Seems like cookies are disabled on this browser, please enable them to open this website
"Hello World!" in C
You are viewing a single comment's thread. Return to all 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; }