Computer Science, asked by cherrysharu143peevak, 1 year ago

data type that occupies least space in c language

Answers

Answered by Arslankincsem
0

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.

Answered by Shaizakincsem
0

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.


Similar questions
History, 1 year ago