sizeof()
Returns the size, in bytes, of the given expression or type (as type size_t).
Syntax:
sizeof <expression>
sizeof ( <type> )
Example:
memset(buff, 0, sizeof(buff));
nitems = sizeof(table) / sizeof(table[0]);
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment