Electronic Circuits - Electronic Tutorials - Electronic Hobby Projects - A Complete Electronic Resource Centre

C Language Programming Library Reference Guide

Products

Sitemap

Online
Calculators

Circuits (A-C)

Circuits (D-O)

Circuits (P-Z)

Tutorials


 
Google
 
Web Hobbyprojects.com

Identifiers - sizeof Keyword

Declaration:
size_t sizeof expression
or
size_t sizeof (type)
The sizeof keyword returns the number of bytes of the given expression or type.
size_t is an unsigned integer result.

Example:

printf("The number of bytes in an int is %d.\n",sizeof(int));

 

 

 

 

Search
Custom Search

<<<  Back to C Language Library Reference Guide

<<<  Back to Electronics Tutorials