A class is required to determine the number of bytes for each data type entered into the program. Write a class oriented program that displays the corresponding bytes for each data type in the program.
Answer:
NB: enclose terms like 'iostream.h' between <> symbols and when outputting after =" follow with << symbols.