Playing With Characters

  • + 0 comments

    include

    include

    include

    include

    int main() {
    char ch,s[20],sen[100];

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

    }