Apply for Zend Framework Certification Training

c



< Constants in C Data Types in C >



bit,Bytes  to Larger Units
Unit                                          Full Form                                           Equivalent
1 bit (b)                                     Binary Digit                                          0 or 1
1 Byte (B)                                  8 Bits                                                  8 bits
1 KB                                          Kilobyte                                               1,024 Bytes
1 MB                                          Megabyte                                            1,024 KB
1 GB                                          Gigabyte                                             1,024 MB
1 TB Terabyte 1,024 GB
1 PB Petabyte 1,024 TB
1 EB Exabyte 1,024 PB
1 ZB Zettabyte 1,024 EB
1 YB Yottabyte 1,024 ZB
Conversion Chain
1 Byte = 8 bits
1 KB = 1,024 Bytes
1 MB = 1,024 KB
1 GB = 1,024 MB
1 TB = 1,024 GB
1 PB = 1,024 TB
1 EB = 1,024 PB
1 ZB = 1,024 EB
1 YB = 1,024 ZB
Easy way to remember
Bit → Byte → KB → MB → GB → TB → PB → EB → ZB → YB
Each step is generally × 1,024 in the binary convention.
Note: Storage manufacturers often use decimal units, where 1 KB = 1,000 bytes, 1 MB = 1,000 KB, etc. In operating systems and programming, the binary units KiB, MiB, GiB are technically more precise for 1,024-based values.

< Constants in C Data Types in C >



Ask a question



  • Question:
    {{questionlistdata.blog_question_description}}
    • Answer:
      {{answer.blog_answer_description  }}
    Replay to Question


Back to Top