How I create my own data type in c

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ch tayyab
    New Member
    • Mar 2010
    • 2

    How I create my own data type in c

    I want to create data type named "DBMS" having characteristics of int and store upto 16 bytes or 128 bits. How I can do this?
  • lini
    New Member
    • Mar 2007
    • 12

    #2
    Do you mean a C structure?

    struct DBMS {
    char field[16]
    };

    Comment

    • ch tayyab
      New Member
      • Mar 2010
      • 2

      #3
      thanks for answering my question.

      Comment

      Working...