We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- C
- Introduction
- "Hello World!" in C
- Discussions
"Hello World!" in C
"Hello World!" in C
Sort by
recency
|
671 Discussions
|
Please Login in order to post a comment
include
include
include
include
int main() {
}
include
int main( ) { printf("Hello World!"); printf("Welcome to C programming."); return 0; }
i wrote this code corrwhy it gives error
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; }
Here is Hackerrahnk "Hello World!" in C solution