Skip to content

Tag Archives: cpp-sizeof

According to C99 Standards, the sizeof() operator only takes into account the type of the operand, which may be an expression or the name of… Read More
In C/C++ sizeof() operator is used to find size of a date type or variable. Expressions written in sizeof() are never executed. Examples: // C… Read More
We can find size of an array using sizeof operator as shown below. // Finds size of arr[] and stores in 'size' int size =… Read More