Thursday, 14 February 2013

sizeof operator


—Returns the number of bytes the operand occupies
—The operand can be variable, constant or data type qualifier
—Ex:
—m=sizeof(sum);
—n=sizeof(long int);
—k=sizeof(235L);

No comments:

Post a Comment

String functions

Read This: strncpy() strncat() strstr () strlen() — Predefined function defined in string.h . — — Returns the len...