CrazyEngineers
  • Consider two files ,one has very less spaces between the text written on it,while one which has a lot of spaces between the text ,so how does the introduction of white-spaces increases the size of the notepad file.

    here the size of size2.txt file is greater than size1.txt file,so what is the appropriate reason for it?
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • Koushal Patel

    MemberFeb 28, 2015

    Quoting wiki link
    whitespace is any character or series of whitespace characters that represent horizontal or vertical space in typography. When rendered, a whitespace character does not correspond to a visible mark, but typically does occupy an area on a page.
    Details:
    <a href="https://en.wikipedia.org/wiki/Whitespace_character" target="_blank" rel="nofollow noopener noreferrer">Whitespace Character</a>
    Are you sure? This action cannot be undone.
    Cancel
  • rahul69

    MemberMar 3, 2015

    radha gogia
    Consider two files ,one has very less spaces between the text written on it,while one which has a lot of spaces between the text ,so how does the introduction of white-spaces increases the size of the notepad file.

    here the size of size2.txt file is greater than size1.txt file,so what is the appropriate reason for it?
    Although Whitespace is not visible, but still it is a character, it has it's own ASCII value and hence consumes space when represented, like any other character.
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register