Check out

PayStack

  • Login
  • Register
    • Login
    • Register
Lonny Carnes
Social accounts
  • Website

    https://ajarproductions.com/pages/products/in5/answers/user/boxcurler33

Lonny Carnes, 20

About You

Deca Vs Tren: The Ultimate Showdown Updated For 2025

Short answer:

About 9‑10 kB of storage (≈ 9600 bytes).




---




Why?


The string contains only ASCII/UTF‑8 characters (`a`–`z`, `
`).

In UTF‑8 or plain ASCII each character occupies 1 byte.




Component Length (chars) Bytes


Letters 100 100


Newlines 99 99


Total 199 199 bytes


However, the string is not just a raw sequence of characters.

In many programming languages it is represented as an object that stores:





Length/Size field – tells how many bytes are in the buffer (e.g., 4 or 8 bytes).


Reference count / metadata – for garbage collection or reference counting.


Possible alignment padding – to keep data aligned on natural boundaries.



Typical implementations add a few dozen bytes of overhead:



Length field: ~4 bytes


Reference counter: ~4 bytes


Alignment padding: up to 8 bytes



So the overall memory consumption becomes roughly

`raw_bytes (≈ 400) + overhead (~60–80) ≈ 460–480 bytes`.



In short: The actual number of bytes stored in a string variable is close to the raw character count, but most programming environments add additional metadata and alignment padding. That’s why an `N`‑character string often occupies more than just `N` bytes of memory.

Profile Info

මූලික

ස්ත්‍රි පුරුෂ භාවය

Male

Preferred Language

ඉංග්‍රීසි

පෙනුම

උස

183cm

Hair color

Black

Report user.
Send gift costs 50 මුදල්

ඔබේ Propose.lk හී ගිණුම් ශේෂය

0 මුදල්

Buy Credits
Chat

You have reached your daily limit, you can chat to new people after , can't wait? this service costs you 100 මුදල්.

Buy Credits
Copyright © 2026 Propose.lk. All rights reserved.
  • අපි ගැන
  •  - 
  • කොන්දේසි
  •  - 
  • රහස්‍යතා ප්‍රතිපත්තිය
  •  - 
  • සම්බන්ධවන්න
  •  - 
  • FAQs
  •  - 
  • Refund
  •  - 
  • Developers
භාෂාව
  • ඉංග්‍රීසි
  • sinhala
  • tamil
Close
පැකේජ Close
Close