"Hello World!" in C

Sort by

recency

|

671 Discussions

|

  • + 0 comments

    include

    include

    include

    include

    int main() {

    char s[100];
    scanf("%[^\n]%*c", &s);
    
    printf("Hello, World!\n");
    printf("%s\n",s);
    return 0;
    

    }

  • + 0 comments

    include

    int main( ) { printf("Hello World!"); printf("Welcome to C programming."); return 0; }

  • + 0 comments

    i wrote this code corrwhy it gives error

  • + 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; }

  • + 0 comments

    Here is Hackerrahnk "Hello World!" in C solution