home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_03 / 137.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-21  |  652KB  |  2550x3300
Labels: book | crt screen | poster | reckoner
OCR: The sizeof( Operator 137 3.4 The sizeof() Operator provides an operator named sizeof that gives the number of bytes associated with specified type or a variable The syntax of the zeof operator is similar to that of a function. Its operand can be placed in parentheses. There fore in this text, we will refer to this operator as zeof using the same notation as for library functions The sizeof operator takes either a variable. an expression ora type name as an argument and returns the number of bytes in that argument The operator si izeof does only what is necessary to determine the number of bytes in the expression. The value ofa sizeof() operation can be determined at compile time. It never depends on runtime values of variables or expressions, only on the types involved For example sizeof( ...