Playing With Characters

  • + 0 comments

    include

    include

    include

    include

    int main() { char ch; char s[50]; char sen[50];

    /* Enter your code here. Read input from STDIN. Print output to STDOUT */
    scanf("%c\n", &ch);
    scanf("%s\n", &s);
    scanf("%[^\n]%*c", &sen);
    
    printf("%c\n",ch);
    printf("%s\n",s);
    printf("%s\n",sen);
    
    return 0;
    

    }