this will take extra memory once u initialize it . but where as it take #def
or enum take once u run the program as per my knowledge

On Tue, Aug 10, 2010 at 4:36 AM, Rajesh chodavarapu <
[email protected]> wrote:

> 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
>
>


-- 
regard
snehith
www.twitter.com/csnehith310

Reply via email to