How does the white-spaces affect the size of the two notepad files

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

  • Koushal Patel
    Koushal Patel
    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:
    Whitespace Character
  • rahul69
    rahul69
    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.

You are reading an archived discussion.

Related Posts

Project Abstract / Summary : Compressed air as a source of energy in different uses in general and as a non polluting fuel in compressed air vehicles.Air, which is abundantly...
Project Abstract / Summary : Project overview: “The Disabled Friendly Car” or “Project DC-1” is an attempt to develop a car for physically challenged drivers. The projects aim to design...
Hello all. I am very disappointed with such long pauses between intellectual discussions here on CE. Collectively we are more brainpower than we can handle. Sadly, we fail to recognize...
Apple too, is making a digital smart watch and Tim Cook is busy educating all the potential consumers how unique and breakthrough product it is. Like all of you even...
Project Abstract / Summary : This project deals with the controlling of home appliances through an android application as well as through GSM technique. It also provides home security which...