Sizeof operator : it
is a unary operator, which gives us the size of any variable or value in bytes.
int a=5;
printf(“
size of a is %d bytes ”,sizeof(a));
answer would be in 2 or 4 bytes depending upon the compiler.
No comments:
Post a Comment