"Hello World!" in C

Sort by

recency

|

633 Discussions

|

  • + 0 comments
    #include <stdio.h>
    #include <string.h>
    #include <math.h>
    #include <stdlib.h>
    
    int main() 
    {
    	
        char s[100];
        scanf("%[^\n]%*c", &s);
        printf("Hello, World!\n");
        printf(s);  
        return 0;
    }
    
  • + 0 comments

    bro what this is so confused

  • + 0 comments

    the description is so confusing

  • + 0 comments

    include

    void main() { printf("helloWorld",);}

  • + 0 comments

    int main() {

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

    return 0; }