11/17/2020 5:59:54 AM
Please search the forum first before posting new question. This topic has been discussed before, so it would be nice not to post a duplicate thread 👍
Sizeof() returns the size of a variable. When sizeof() is used with the data types, it simply returns the amount of memory allocated to that data type.
MD. Ferdous Ibne Abu Bakar Sizeof is an operator, not a function. It is not required to use parentheses (except for data types), e.g int a; 'sizeof a' will give 4.
I think this post is a duplicate, btw, sizeof is an operator, not a function.
Send us a message