data type that occupies least space in c language
Answers
Data type are used to define a variable before to use in a program and denotes by sizef() function.
This is used to find the memory space allocated for each C Data types C.
This is consider to take part in regular type and although has to data type for making empty structrt class.
The nearest C++ has to an information compose that consumes little or no space is void. In any case, void is anything but a general kind, in spite of the fact that I hear there is a proposition in C++20 to move void toward this path.
Numerous C++ ABIs actualize an enhancement known as the Empty Base Optimization. As the name proposes, this influences legacy. In particular: If you have a vacant base class, it is permitted to possess zero space in a determined class' format. To be clear however, the inferred class still should be non-zero in the size.