How many bytes of memory will the number 50000 consume if it is declared as a variant?
Answers
Answered by
1
Answer:
16 bytes of memory will the number 50000 consume if it is declared as a variant.
Explanation:
Variant is a data type like int, float, double etc and it is used by the variables which are not declared with some other data types.
The data type int contains 2 or 4 bytes, float contains 4 bytes , double contains 8 bytes in the memory in the same way the size of variant in the memory is 16 bytes.
Similar questions