Playing With Characters

  • + 0 comments

    include

    include

    include

    include

    int main() { char ch; char str[100]; char sentence[100]; scanf("%c",&ch); scanf("%s",str); scanf("\n"); scanf("%[^\n]%*c",sentence);

    printf("%c\n",ch);
    printf("%s\n",str);
    printf("%s\n",sentence);
    
    
    return 0;
    

    }