How To create Larger Data type in C

Discussion in 'C' started by jayaraj_ev, Aug 29, 2007.

Thread Status:
Not open for further replies.
  1. jayaraj_ev

    jayaraj_ev New Member

    Joined:
    Aug 29, 2007
    Messages:
    20
    Likes Received:
    2
    Trophy Points:
    0
    Occupation:
    Software engineer
    Location:
    Bangalore
    Hi,
    Can you create a data type in "C" were we can store 20 bytes and perform simple arithmentic operations like +, -

    for example

    New_Type A, B, C;
    A = 0xFFFFFFFFFFFFFFFFFFFFFFFFFF;
    B = 0xFFFFFFFFFFFFFFFFFFFFFFFFFF000;
    C = A + B;


    Thanks in advance
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,336
    Likes Received:
    377
    Trophy Points:
    83
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice