sizeof() function is used to get the memory allocated size in C programming language. See the below example with the output.
Below example will explain the data types such as int, float, char… etc and it will return the memory allocated size of the data types. Copy the below code and execute in c compiler to see the data type size.
If you like FreeWebMentor and you would like to contribute, you can write an article and mail your article to [email protected] Your article will appear on the FreeWebMentor main page and help other developers.