U can use sruct an unions to create own data types.
Ex:
"ownd" is int data type stores upto 16 bytes. 

struct ownd {
char field[16];
};



________________________________
From: chiluveru snehith <[email protected]>
To: [email protected]
Sent: Mon, August 9, 2010 10:23:28 AM
Subject: Re: [twincling] about creating own data type

hi venkat  

you can use #def function to create our own data type 


On Mon, Aug 9, 2010 at 8:25 AM, Venkatesh P <[email protected]> wrote:

how will create our own data type in c  just like int char float ?????
>if type name is bool it will take only (true or false )or (0or 1)
> 


-- 
regard
snehith
www.twitter.com/csnehith310



      

Reply via email to