C Library - < stddef.h >

The stddef.h header defines various variable types and macros. Many of these definitions also appear in other headers.

Library Variables

Following are the variable types defined in the header stddef.h −
Sr.No.Variable & Description
1
ptrdiff_t
This is the signed integral type and is the result of subtracting two pointers.
2
size_t
This is the unsigned integral type and is the result of the sizeof keyword.
3
wchar_t
This is an integral type of the size of a wide character constant.

Library Macros

Following are the macros defined in the header stddef.h −
Sr.No.Macro & Description
1NULL
This macro is the value of a null pointer constant.
2offsetof(type, member-designator)
This results in a constant integer of type size_t which is the offset in bytes of a structure member from the beginning of the structure. The member is given by member-designator, and the name of the structure is given in type.

Contact

Talk to us

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolores iusto fugit esse soluta quae debitis quibusdam harum voluptatem, maxime, aliquam sequi. Tempora ipsum magni unde velit corporis fuga, necessitatibus blanditiis.

Address:

৪৭/ দক্ষিণ বেগুনবাড়ি তেজগাঁও শিল্প এলাকা ঢাকা ১২০৮

Work Time:

সোমবার - শুক্রবার থেকে সকাল 9 টা থেকে বিকাল 5 টা

Phone:

+88 019 4145 2627